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.
|