1- Win16 Test Application
1+ Win16 Example Application
22
33This application is an example 16�bit Windows application written in C. It
44accompanies an article from my web site, located at
55http://www.transmissionzero.co.uk/computing/win16-apps-in-c/.
66
7- To build the application with Microsoft�s Visual C++ compilers, simply open a
8- command prompt, change to the directory containing the Makefile, and run
9- �nmake�. Note that you will need the 16�bit C compiler, linker, and resource
10- compiler�it won�t work with 32�bit compilers! Also note that the Makefile may
11- require some small modifications if you use a make utility other than �nmake�.
7+ To build the application with Microsoft�s Visual C++ compilers, open a command
8+ prompt, change to the directory containing the Makefile, and run �nmake�. Note
9+ that you will need the 16�bit C compiler, linker, and resource compiler�it won�t
10+ work with 32�bit compilers! Also note that the Makefile may require some small
11+ modifications if you use a make utility other than �nmake�.
1212
13- To build the application in Open Watcom, simply open the project up in the IDE,
14- and choose the �Make� option from the �Targets� menu.
13+ To build the application with the Microsoft Visual C++ GUI, open the
14+ �Win16App.mak� file and build the application. You will need a version of Visual
15+ C++ which supports building Win16 apps, for example Visual C++ 1.52 (available
16+ from MSDN if you have a subscription).
17+
18+ To build the application in Open Watcom, open the project up in the IDE, and
19+ choose the �Make� option from the �Targets� menu.
1520
1621
1722Disclaimer
@@ -33,16 +38,33 @@ entirely up to you. Of course, you must still comply with the licensing
3338conditions of the tools you are using to build the application.
3439
3540
36- Problems?
41+ Known Problems
42+
43+ If you try to launch this application while the Windows 1 version of the
44+ application is already running, you get a second instance of the Windows 1
45+ application instead! I can�t find any reason why this would happen, but I�ve
46+ tested the application on Windows 3.0 to Windows 8.1, and it behaves the same
47+ across all of them.
3748
38- If you have any problems or questions, please get in contact via
49+ The Open Watcom build of the application doesn�t work correctly under Windows
50+ 3.0 when running in real mode. The application will start but the menu is
51+ missing and the about dialog won�t display. I�ve found Open Watcom to be a bit
52+ hit and miss, where certain seemingly harmless changes of compiler option result
53+ in an application which crashes, so it may be possible to fix this by changing
54+ the compiler options.
55+
56+ If you have any other problems or questions, please get in contact via
3957http://www.transmissionzero.co.uk/contact/. Please ensure that you read the
4058article at http://www.transmissionzero.co.uk/computing/win16-apps-in-c/ before
4159sending any questions.
4260
4361
4462Changelog
4563
64+ 2014-11-09: Version 1.3
65+ � Added a Makefile project for use with the Visual C++ GUI.
66+ � Refactored some of the code to split the source code files by functionality.
67+
46682013�09-07: Version 1.2
4769
4870 � Removed superfluous LOWORD() macros which had been applied to WPARAMs.
@@ -52,11 +74,11 @@ Changelog
5274 � Added a VERSIONINFO resource to the executable, so that version information
5375 can be viewed in File Manager or Windows Explorer.
5476 � Open Watcom build now runs in Windows 3.0 (but not in real mode).
55- � Ensured all source files are 8.3 characters long.
77+ � Ensured all source files are no more than 8.3 characters long.
5678
57792011�07�06: Version 1.0
5880
5981 � First release.
6082
61- Martin Payne
62- 2013�09-07
83+ Transmission Zero
84+ 2014-11-09
0 commit comments