Home > Software engineering >  A great god, vb to read a string in memory
A great god, vb to read a string in memory

Time:09-17


String UTF - 16, the address is found, how to find it in ReadProcessMemory are empty, beg god to solve!

CodePudding user response:

Put your "read" post code...


In addition you should pay attention to:
1. Unicode strings, each character is 2 bytes,
(of course there are some special characters "4 bytes", but generally can not consider)

2. You said "empty", pay attention to the points clearly states:
"Reading process failure", or "read out the results with the 'expected' is not consistent with the result of the",

CodePudding user response:

Since the address read 10 bytes, then put the byte data list you see what it was,
What you said is empty what a bunch of 00 or a string of data you translate wrong, or simply do you call a function error we all don't know,

CodePudding user response:

http://www.pudn.com/Download/item/id/2401205.html
  • Related