Hi everyone, I use the below code to get the command line of a process, it works on both Windows 7 32-bit and Windows 7 64-bit. However, on Windows 7 64-bit, only some 32-bit applications get the information (eg Notepad), the rest not return anything (eg WordPad).

Can someone please help me with this problem?

Sincerely thank you,

FerrMask

CommandLinePEB.zip