c++ - How to output MODULEENTRY32 properties data types? -


i have created module snapshot , got moduleentry32 struct contains data, output this:

   _tprintf( text("%6d %-15s %s\n"),pe.th32processid,me.szmodule,me.szexepath); 

now lets want use path, wchar me.szexepath , method requires path of const *char. how handle that, need convert data type?


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -