quote:
Originally posted by CookieRevised
afaik, unfortunatly not. That address can only be used for synchronous callbacks, not asynchronous calls. So getting an address might be possible, but it might not be valid anymore at any time.
That is, dunno exactly how the rules go when you use it from inside your DLL though (using your method), but I wouldn't be surprised if the same thing applies for that DLL.
Well, every time you want to call that jscript function, you call Interop.GetCallbackPtr and use it right away. I think that wouldn't cause you problems. Unless I'm missing something huge here
Forgot to say, Eljay, would you mind me putting your codes in my tutorial (with your name attributed to)?