What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to make a struct?

How to make a struct?
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: How to make a struct?
right well you people dont know what you're talking about you have to recreate the structure in memory and read it from memory, here you dont need to create the structure since it will be passed into point for you by GetCursorPos

code:

var point = Interop.Allocate(8);
Interop.Call("user32.dll", "GetCursorPos", point);
Debug.Trace("x: " + point.ReadDWORD(0));
Debug.Trace("y: " + point.ReadDWORD(4));


This post was edited on 08-01-2006 at 12:05 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
08-01-2006 12:00 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How to make a struct? - by -=blu3+3y3s=- on 07-31-2006 at 08:51 PM
RE: How to make a struct? - by Ezra on 07-31-2006 at 08:54 PM
RE: How to make a struct? - by -=blu3+3y3s=- on 07-31-2006 at 09:19 PM
RE: How to make a struct? - by Ezra on 07-31-2006 at 09:25 PM
RE: How to make a struct? - by -dt- on 08-01-2006 at 12:00 AM
RE: How to make a struct? - by Eljay on 08-01-2006 at 07:30 AM
RE: How to make a struct? - by Ezra on 08-01-2006 at 09:05 AM
RE: How to make a struct? - by -=blu3+3y3s=- on 08-01-2006 at 06:17 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