Information générale
Catégorie:
Fonctions Windows API
>>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,
You put such useful answers up for many people. It's rewarding to be able to help you this time.
-Dore
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement