I need a way to determine if an application I'm about to do a createprocess on is a 16-bit or 32-bit application
Thanks
Printable View
I need a way to determine if an application I'm about to do a createprocess on is a 16-bit or 32-bit application
Thanks
Perhaps you could look at the .exe's header. It would require you study the header of each type, or have some exe header info. There might be an easier way, but I don't know what it is.
Actually, we can do a right click on the executable, select QuickView, and see in the header information that the application is 16-bit. But we need a way to do this in a Visual C++ application. If I new how QuickView get's it's info, that would be helpful.
Thanks
Have a look at an MSDN sample called YAHU which stands for Yet Another
Header Utility. It has code that analyzes the header of executables.
It should be available on-line and on the CDROMs.