
You can freely compile and run with or without Unicode on Windows Server 2003 and later, and Windows 2000 and later. The default is to compile for the traditional ANSI string support, because you can then run on any 32-bit Windows operating system.

To compile the samples to run with Unicode strings, use the "unicode=1" option. The nodebug, profile, and tune options are mutually exclusive: you may use only one of them, or none, for a given compilation/link. Nmake invocationįor the Makeall.bat invocations you must have the quotes as shown. The Makeall.bat file, and each respective code sample makefile, support common options, listed in the following table, for invocation from the Command Prompt window to control the nature of the build. Most compiler/linker command line switches are specified by macros defined in the Win32.mak makefile include file included with the Platform Software Development Kit (SDK).


They assume Microsoft compiler and linker tools and will probably require some modification to work with other tools. The makefiles for each of the code samples in this series are generic Microsoft Win32 makefiles and are meant to be built from the Command Prompt window.
