Creating Dual-Version Apps for Win95

Your 16-bit application may run fine under Windows 95, but you have to mark it as a 4.0 application to get access to some Windows 95 features, such as the new icon messages. Unfortunately, if you mark it as 4.0, then Windows 3.x will refuse to run it. The trick is to mark your application 4.0 at runtime when it executes under Windows 95. Here’s the code you need to do the trick.

http://tjotala.com/wp/wp-content/uploads/articles/dualver/WDJCoverOct1996.jpg;WDJ Cover Page October 1996

http://tjotala.com/wp/wp-content/uploads/articles/dualver/Figure1.jpg;Figure 1


Supported Platforms: Windows 3.x,
Windows 95,
Windows ME
Tested Platforms: Windows 3.x,
Windows 95
Download Link: DualVer.zip (5.86KB)

Leave a Reply

You must be logged in to post a comment.