What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Passing information DLL -> script

Passing information DLL -> script
Author: Message:
lysp
Junior Member
**


Posts: 27
Joined: Jun 2006
O.P. Passing information DLL -> script
Just a quick thought.

At the moment you are able to call com functions from a script.

How would you go about going the other direction, eg. the dll is running in the background and when it gets information will need to pass it back to a script. Is this able to be done?

Only other way i can think of doing this is having a timer or a loop, but im not sure how resource hungry that'd be.

Eg.

while() {

if (dataAvailable)
    call getdata()

}

or

timer_event()
{

if (dataAvailable)
    call getdata()

}

Has anyone tried this? As i think what i'll need to do is implement some sort of buffering system into my compiled code and buffer/stack the data until the script calls it to read the info out.
07-18-2006 08:11 AM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: Passing information DLL -> script
well how Ive managed to do it is create a hidden plus window then pass the hwnd of some textbox on it to your dll then just sendMessage and insert some text into that textbox and it should trigger a plus event
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-18-2006 08:24 AM
Profile PM Web Find Quote Report
lysp
Junior Member
**


Posts: 27
Joined: Jun 2006
O.P. RE: Passing information DLL -> script
Nice idea, thanks.
07-18-2006 11:33 PM
Profile E-Mail PM Find Quote Report
lysp
Junior Member
**


Posts: 27
Joined: Jun 2006
O.P. RE: Passing information DLL -> script
Sorry just after a bit more information, do you have an example of this in one of your scripts?


off topic: u from melb?
07-20-2006 01:04 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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