Could you please add support for the following reserved words.
#EVENTS
OnDestroy
#end ;
External Dll programing
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
-
- Posts: 22
- Joined: 26 Sep 2007
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Hi randomname,
Try the following:
Should work.
Try the following:
Code: Select all
external method: "DLLNAME.dll", void, "_OnDestroyHandler";
#EVENTS
OnDestroy = _OnDestroyHandler;
#END;
-
- Posts: 22
- Joined: 26 Sep 2007
-
- Posts: 22
- Joined: 26 Sep 2007
-
- Posts: 22
- Joined: 26 Sep 2007
Ok well it is working without errors using the following code
external method: "DLLNAME.dll", int, "_OnDestroyHandler", IEasyLanguageObject;
But it creates errors when I use just external instead of external method
Is there suppose to be a difference between the two?
external: "DLLNAME.dll", int, "_OnDestroyHandler", IEasyLanguageObject;
external method: "DLLNAME.dll", int, "_OnDestroyHandler", IEasyLanguageObject;
But it creates errors when I use just external instead of external method
Is there suppose to be a difference between the two?
external: "DLLNAME.dll", int, "_OnDestroyHandler", IEasyLanguageObject;