Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: rjantz3 on June 06, 2012, 12:11:15 PM

Title: Plugin compiler error
Post by: rjantz3 on June 06, 2012, 12:11:15 PM

I am getting a acompile error and I don't understand how to work through this. Can anyone enlighten me a bit? Here is the error from the compiler.
 
error C3728: 'event Mach4::IMyScriptObject_CodeEventHandler
 
and here is the code




Code: [Select]
void programinit(){
Mach4::CMach4DocClass obj;

obj.Code("G20");
obj.Code("G53G90G40");
obj.Code("F1");
obj.Code("M06 T0 F",IPM(),".");
rapidheight();
}