1>c:\users\office\documents\visual studio 2008\projects\presetter\presetter\PlugInControlDialog.h(1133) : error C3728: 'event Mach4::IMyScriptObject_CodeEventHandler ^Mach4::CMach4DocClass::Code': event does not have a raise method
This is a dll that has a windows form and I have added the exe as a reference to the project. The exe exposes a namespace of Mach4 and the class CMach4DocClass. This is visible in the object browser of the solution. There are also a bunch of eventhandlers exposed in the Mach4 namespace and the IMyScriptObject_CodeEventHandler is one of them.
This error is in the .h file of the Windows form of the dll.
Well, the error clearly states that the class Mach4::CMach4DocClass::Code doesn't have an associated member function called raise(). You need to add the function to the class.