Skip to content

Commit 38921f0

Browse files
committed
Prepare for version 1.4.
1 parent 89f6227 commit 38921f0

2 files changed

Lines changed: 48 additions & 15 deletions

File tree

Readme.md

Lines changed: 46 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,46 @@ of Windows 10). It does not run under Windows 1 or 2, but there is a
2121
[Windows 1 Version](https://github.com/TransmissionZero/Windows-1-Example-Application)
2222
which is compatible with Windows 1 and 2 (but not compatible with Windows 9x).
2323

24+
The application can be built using Visual C++ 1.5x. You can
25+
[download Visual C++ 1.52](https://my.visualstudio.com/Downloads?pid=140) if you
26+
have a Visual Studio Subscription. If you don't have a subscription, you can
27+
download the
28+
[Windows Server 2003 DDK](http://download.microsoft.com/download/9/0/f/90f019ac-8243-48d3-91cf-81fc4093ecfd/1830_usa_ddk.iso)
29+
which contains the 16 bit command line tools (most of which are from Visual C++
30+
1.52). The 16 bit binaries can be found in "bin\bin16" of the installed DDK,
31+
include files in "inc\inc16", and lib files in "lib\lib16". A number of the
32+
binaries come in two versions, one with and one without a "16" suffix, e.g.
33+
"cl.exe" and "cl16.exe". Despite the different filenames, the file contents are
34+
identical.
35+
36+
The application can also be built with [Open Watcom](http://openwatcom.org/),
37+
which is free to download.
38+
39+
With a few small changes to the Makefile, the application will build with
40+
Microsoft C / C++ 7.0 and the Windows 3.1 SDK. It won't build with the Windows
41+
3.0 SDK because the headers don't define some of the required types, and it does
42+
not have the "ver.h" header which is required for the version information
43+
resource.
44+
2445
## Building the Application
2546

26-
To build the application from the command line with Microsoft's Visual C++
27-
16 bit compilers, open a command prompt, change to the directory containing the
28-
project files, and run "nmake /f Win16App.mak". Note that you will need the 16
29-
bit C compiler, linker, and resource compiler--this won't work with 32 bit
30-
compilers! The 16 bit tools can be freely downloaded as part of the
31-
[Windows Server 2003 DDK](http://download.microsoft.com/download/9/0/f/90f019ac-8243-48d3-91cf-81fc4093ecfd/1830_usa_ddk.iso).
47+
To build the application with the Microsoft Visual C++ 1.5x GUI, go to
48+
"project", "open", then open "Win16App.mak". To choose a debug or release build,
49+
go to "options" then "project". The project can be built using the "build" or
50+
"rebuild" toolbar items, or via the "project" menu.
3251

33-
To build the application with the Microsoft Visual 1.5 C++ GUI, open the
34-
"Win16App.mak" file and build the application. If you have an MSDN subscription,
35-
you can
36-
[download Visual C++ 1.52](https://my.visualstudio.com/Downloads?pid=140).
52+
To build the application from the command line with Visual C++ 1.5x, launch a
53+
command prompt, run the "MSVCVARS.BAT" file which can be found in the Visual C++
54+
"bin" directory, and then navigate to the directory containing the Makefile. Run
55+
"nmake /f Win16App.mak" to build. This also works with the Windows Server 2003
56+
DDK, but instead of running "MSVCVARS.BAT", you will need to add the "bin16"
57+
directory to your "%PATH%" environment variable, "inc16" to "%INCLUDE%", and
58+
"lib16" to "%LIB%".
3759

3860
To build the application in [Open Watcom](http://openwatcom.org/), open the
39-
project up in the IDE, and choose the "Make" option from the "Targets" menu.
61+
project up in the IDE, and choose the "Make" option from the "Targets" menu. You
62+
can switch between debug and release builds by going to "Targets", "Target
63+
Options", and choosing "Use Development Switches" or "Use Release Switches".
4064

4165
## Terms of Use
4266

@@ -53,7 +77,7 @@ the compiler options. It runs fine under Windows 3.0 in Standard Mode and 386
5377
Enhanced Mode.
5478

5579
The Open Watcom build of the application has optimisations switched off. With
56-
optimisations, the application crashes on startup.
80+
optimisations enabled, the application crashes on startup.
5781

5882
If you have any other problems or questions, please ensure you have read this
5983
readme file and the
@@ -63,6 +87,15 @@ article. If you are still having trouble, you can
6387

6488
## Changelog
6589

90+
5. 2017-05-21: Version 1.4
91+
- Removed unnecessary whitespace from source files.
92+
- Corrected min / max window size handling, which should have been using a far
93+
pointer for the MINMAXINFO struct.
94+
- Removed the original Makefile as it just duplicates the functionality of the
95+
Visual C++ Makefile.
96+
- Various updates to compiler and linker options to ensure consistency between
97+
Visual C++ and Open Watcom builds.
98+
6699
4. 2014-11-09: Version 1.3
67100
- Added a Makefile project for use with the Visual C++ GUI.
68101
- Refactored some of the code to split the source code files by functionality.
@@ -80,4 +113,4 @@ article. If you are still having trouble, you can
80113
- First release.
81114

82115
Transmission Zero
83-
2016-08-28
116+
2017-05-21

Resource.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ BEGIN
4040
VALUE "FileDescription", "Win16 Example application\0"
4141
VALUE "FileVersion", "1.0.0.0\0"
4242
VALUE "InternalName", "Win16App\0"
43-
VALUE "LegalCopyright", "�2014 Transmission Zero\0"
43+
VALUE "LegalCopyright", "�2017 Transmission Zero\0"
4444
VALUE "OriginalFilename", "Win16App.exe\0"
4545
VALUE "ProductName", "Win16 Test application\0"
4646
VALUE "ProductVersion", "1.0.0.0\0"
@@ -60,7 +60,7 @@ FONT 8, "MS Sans Serif"
6060
BEGIN
6161
ICON IDI_APPICON,IDC_STATIC,7,7,20,20
6262
LTEXT "Win16 Example application.",IDC_STATIC,34,7,91,8
63-
LTEXT "�2014 Transmission Zero",IDC_STATIC,34,17,86,8
63+
LTEXT "�2017 Transmission Zero",IDC_STATIC,34,17,86,8
6464
DEFPUSHBUTTON "OK",IDOK,90,46,50,14,WS_GROUP
6565
END
6666

0 commit comments

Comments
 (0)