Remove that IIntuition-> and all other ISomething-> from your source code. This code is for Amiga OS 4. It does not compile for 3.x.
Also narrow down a possible mistake by starting with
myobject = NewObject (class,NULL, TAG_END);
If this compiles, add more tags one by one.
Also don't mix function call style with ReAction macros style. Don't use EndObject, EndGroup and the like if you don't also use WindowObjecrt, LayoutObject and so on.
Function call style is better because you can match brackets to see if you closed all open brackets.
|