The way I see it, Plus! has one internal (native) function that is used as a callback. When you call GetCallbackPtr, Plus! stores the name of the function and the script engine object for the script that called it. This is why the callback must be used immediately and synchronously, because other scripts calling GetCallbackPtr would screw everything up.
Patchou did post somewhere a more technical explanation as to why he can't support asynchronous callbacks, but I can't find it
quote:
Originally posted by Danny22
I guess I can accomplish this by moving the code into a DLL?
Thanks Eljay and matty.
Most likely yes, maybe if you explained what you were trying to accomplish we can help out.