Is there a way to correctly know the length of a string using ReadProcessMemory?

  • Thread starter Thread starter OldGoldie
  • Start date Start date
O

OldGoldie

Guest
So I have a problem: I'm reading a string from a memory address that is different at different times. For example:

Axe?ca Ocarina?tar??ing?ing????????????

I only need Axe.

Ball of Green Yarn??ing?ing????????????

I only need Ball of Green Yarn.

I'm reading 80 bytes of text (40 chars) because that's the most amount of characters the string should get to. But how can I know how long the string actually is?

Continue reading...
 
Back
Top