What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] RtlMoveMemory: file not found

Pages: (2): « First « 1 [ 2 ] Last »
[?] RtlMoveMemory: file not found
Author: Message:
TheSteve
Full Member
***

Avatar
The Man from Japan

Posts: 179
Reputation: 23
40 / Male / Flag
Joined: Aug 2005
RE: [?] RtlMoveMemory: file not found
RtlMoveMemory does not free the pointer.  You still have to manage memory yourself.

The only difference between RtlMoveMemory and RtlCopyMemory is that RtlMoveMemory is designed to work on two buffers that overlap each other. Other than that, they are the same.

If you are using DataBloc, the memory is automatically free'd when the JScript garbage collector is run. So as long as you have a reference to the object in a variable, the data will not be free'd. If you are using the Win32 API SendMessage function, the function will not return until the message has been received and handled.  All of this time, you still have a reference to the DataBloc, so the memory is still valid. 
03-26-2009 01:06 AM
Profile PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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