For instance:
0:000> ?? testFile //check this variable
char * 0x009c6758
"e:\TEST\example.FOO"
Question:
- How can I check for a NULL-terminated character in above?
For instance:
0:000> ?? testFile //check this variable
char * 0x009c6758
"e:\TEST\example.FOO"
Question:
It's clearly there since you are seeing a valid string and not several junk characters afterwards.
db poi(testFile)
Will dump the raw bytes in the string to the console and you'll be able to see a 0 byte at the end. You can also use the memory window to see the zero byte at the end of the string as well.