Hi Mike,
It's in the nature of deadlines that they pass...
I've had a quick play, but I can't make it work, either. I tried loading NtDLL, which succeeds (it returns an address), but then when I search with GetProcAddress it doesn't find RtlCopyMemory (returns a 0 address). I checked that it can load RtlMoveMemory, and that works fine (and does the right thing).
Best wishes,
D
Code: Select all
DIM dest% 99, source% 99
!source%=&4030201
source%!4=&8070605
FOR x%=0 TO 8
PRINT dest%?x%,source%?x%
NEXT x%
SYS "RtlMoveMemory", dest%, source%, 100
PRINT "Move done."
FOR x%=0 TO 8
PRINT dest%?x%,source%?x%
NEXT x%
SYS "LoadLibrary", "NtDll.DLL" TO ntl_dll%
PRINT ~ntl_dll%
SYS "GetProcAddress", ntl_dll%, "RtlMoveMemory" TO mmove%
PRINT "mmove%: ", mmove%
SYS "GetProcAddress", ntl_dll%, "RtlCopyMemory" TO mcop%
PRINT "mcop%: ",mcop%
END