What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Trouble creating a DLL that works in Plus

Trouble creating a DLL that works in Plus
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Trouble creating a DLL that works in Plus
Well, you don't need a special DLL to achieve this. :D
JScript code:
var rc = Interop.Allocate(16);
Interop.Call("user32", "GetWindowRect", Interop.Call("user32", "GetDesktopWindow"), rc);
Debug.Trace("screen resolution: " + rc.ReadDWORD(8) + 'x' + rc.ReadDWORD(12))
 
rc.Size = 0;

I know theres another way, i'll post it later...

just open up the Script Debugging window and you'll see something like this:
quote:
Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
screen resolution: 1280x1024

if you still want to create that DLL, just have a read at this article at msdn ;)

This post was edited on 10-12-2008 at 11:45 PM by felipEx.
10-12-2008 11:40 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Trouble creating a DLL that works in Plus - by a0369 on 10-12-2008 at 08:18 PM
RE: Trouble creating a DLL that works in Plus - by felipEx on 10-12-2008 at 11:13 PM
RE: Trouble creating a DLL that works in Plus - by a0369 on 10-12-2008 at 11:22 PM
RE: Trouble creating a DLL that works in Plus - by felipEx on 10-12-2008 at 11:40 PM
RE: RE: Trouble creating a DLL that works in Plus - by davidpolitis on 10-13-2008 at 10:18 AM
RE: Trouble creating a DLL that works in Plus - by a0369 on 10-13-2008 at 01:22 AM
RE: Trouble creating a DLL that works in Plus - by Mnjul on 10-13-2008 at 11:24 AM
RE: Trouble creating a DLL that works in Plus - by a0369 on 10-13-2008 at 04:52 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