G
Guest
I'm looking for a way to programmtically identify if an executable image is
32 or 64 bit. I can do this from a DOS prompt using "dumpbin /headers
filex.exe | find /I machine". I need to what dumpbin does to get the header
of a file. What C call do I make to do that? Alternatively, if I could get
the source to the command dumpbin I could figure it out. But I'll take the
straight C call or any help. Thanks!
HR
32 or 64 bit. I can do this from a DOS prompt using "dumpbin /headers
filex.exe | find /I machine". I need to what dumpbin does to get the header
of a file. What C call do I make to do that? Alternatively, if I could get
the source to the command dumpbin I could figure it out. But I'll take the
straight C call or any help. Thanks!
HR