What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Interop.GetCallbackPtr

Interop.GetCallbackPtr
Author: Message:
paulspiteri
New Member
*


Posts: 5
Joined: Oct 2008
O.P. Interop.GetCallbackPtr
Hi
I know there's a warning in GetCallbackPtr to not use it asyncronously, but how dangerous is that, really? I haven't done any experiments yet but I'm wondering how often the pointer really does change.
I've got a script that does some polling to a .NET DLL via COM to check if there's any new data, but i'd love to change that so the .NET code makes a callback to the script using this pointer.
I did try it actually, but couldn't convert the pointer into a delegate (anyone else tried that?). If i'm going to try again, i'm thinking of making a managed C++ assembly to make the callback call.

Anyone else out there have any thoughts?
Thanks
Paul
10-25-2008 01:34 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Interop.GetCallbackPtr - by paulspiteri on 10-25-2008 at 01:34 PM
RE: Interop.GetCallbackPtr - by ShawnZ on 10-25-2008 at 01:36 PM
RE: Interop.GetCallbackPtr - by felipEx on 10-25-2008 at 08:57 PM
RE: Interop.GetCallbackPtr - by paulspiteri on 10-25-2008 at 11:43 PM
RE: Interop.GetCallbackPtr - by felipEx on 10-26-2008 at 12:07 AM
RE: Interop.GetCallbackPtr - by paulspiteri on 10-26-2008 at 02:14 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On