windows - Determine if program was built with AnyCPU -
after reading this comment
if built in "any cpu", show 32bit in dumpbin headers.
i know how can tell regular 32-bit programme anycpu program. prefer command line if possible. tried
dumpbin yourprogram.exe /headers
on programme of each type, not tell them apart in way.
compare these two
ps > start-process -passthru chocolatey.exe | get-process -module size(k) modulename ------- ---------- 40 chocolatey.exe 1700 ntdll.dll 444 mscoree.dll 1148 kernel32.dll 432 kernelbase.dll ps > start-process -passthru firefox.exe | get-process -module size(k) modulename ------- ---------- 272 firefox.exe 1700 ntdll.dll 252 wow64.dll 368 wow64win.dll 32 wow64cpu.dllso if see wow64.dll
32-bit, otherwise programme 64-bit capable.
windows visual-studio 32-bit anycpu dumpbin
No comments:
Post a Comment