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:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Interop.GetCallbackPtr
quote:
Originally posted by paulspiteri
Hi
I know there's a warning in GetCallbackPtr to not use it asyncronously, but how dangerous is that, really?l
quote:
Originally posted by Patchou
The documentation specifically mentions that this function can only be used for synchronous calls. If you make a script that defys this rule, it may work at first but the combination of several scripts will certainely cause unexpected results / crashes.
quote:
Originally posted by Patchou
the problem is a technical limitation: for callbacks I dont have much other choice than using static functions in my code so I cant have two scripts using a callback at the same time, which is why they have to be synchronous.
...
Thus right now, calling GetCallbackPtr() many times, from different scripts, will always return the same pointer for a function with a given number of arguments.
read Cookie's reply
10-25-2008 08:57 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