How to Build Admin Demo

The file \Samples\Odbc\Admin\Ademo.mak is set up for compilation in 32-bit environments using a Microsoft or Microsoft-compatible C compiler. Use the \Samples\Odbc\Admin\Ademo.bat file to set the appropriate environment and to invoke the appropriate compiler and linker.

Note   The ADEMO.MAK file assumes that you have installed the Win32 SDK. If you are using Visual C++ 1.0 or later on Windows NT, Admin Demo will not compile with the provided ADEMO.MAK. Instead, you must use the makefile generated by Visual C++.

To build the sample, change to the directory where ADEMO.BAT resides, then:

Unrecognized arguments to ADEMO.BAT will halt compilation with a warning.

ADEMO.BAT calls NMAKE, the Microsoft Program Maintenance Utility provided with Microsoft C version 7.0 or later, on the file ADEMO.MAK to rebuild the ADMNDEMO.EXE file. If ADEMO.MAK is unmodified, ADEMO.BAT will rebuild the original ADMNDEMO.EXE sample.

For information about using NMAKE, see your C compiler tools documentation.