|
-
April 12th, 1999, 01:38 PM
#1
Determine if app is 16-bit
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
-
April 13th, 1999, 08:44 AM
#2
Re: Determine if app is 16-bit
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.
-
April 13th, 1999, 08:54 AM
#3
Re: Determine if app is 16-bit
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
-
April 13th, 1999, 12:10 PM
#4
Re: Determine if app is 16-bit
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|