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

Get Variable pointer
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Get Variable pointer
quote:
Originally posted by -dt-
code:

var str = "moo goes the cow";
var strPtr = Interop.Allocate( (str.length *2) +2);
strPrt.WriteString(0,str);

Debug.Trace("The pointer is ..." + strPtr.DataPtr );


for deAd: note that this does not give the pointer to the 'str' variable, but rather gives a pointer to another copy of that string.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-14-2006 08:26 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Get Variable pointer - by deAd on 07-14-2006 at 04:50 PM
RE: Get Variable pointer - by -dt- on 07-14-2006 at 05:33 PM
RE: Get Variable pointer - by CookieRevised on 07-14-2006 at 08:26 PM
RE: Get Variable pointer - by Shondoit on 08-30-2006 at 12:05 AM
RE: Get Variable pointer - by deAd on 08-30-2006 at 12:33 AM
RE: Get Variable pointer - by Shondoit on 08-30-2006 at 12:47 AM
RE: Get Variable pointer - by deAd on 08-30-2006 at 01:12 AM
RE: Get Variable pointer - by CookieRevised on 08-30-2006 at 01:24 AM


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