Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CopyMemory...where are you?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00155597
Message ID:
00155985
Views:
23
>You're welcome. Puns are always appreciated. I think you and Ed Rauh are both seeing it but not letting it sink in. The KB article isn't just about the aliasing of CopyMemory, mempy and RtlCopyMemory it's that if you want to get the memory copying function you basically have to use RtlMOVEMemory (my empasis) which basically performs the same function except in cases of overlapping memory ranges. RtlCopyMemory won't work because it's still refers to an unexported C function. RtlMoveMemory is accessible, however.
Hi Dore,

Yep, that's it RtlMoveMemory (oh happy day!) should do the trick. After a look (via QuickView) inside Kernel32.dll, I noted that there is no RtlCopyMemory, but there is RtlMoveMemory, and that (seems) to work. More later.

Thanks for your persistance (without groans). Geez, if you like puns, you'll be in good company with me, John Koziol and Nancy Folsom. Oh, I'm not "moved" for another pun right now.:-)
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform