I can't, I don't have a 64bit environment, but you should just have to changeThat might be as simple as usingPrivate Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _ (dest As Any, Source As Any, ByVal bytes As Long):
PtrRtlMoveMemory
or
PtrMoveMemory
I only posted it here so I could save this as a web page.