The file <install directory>\SAMPLES\SAMPCLNT\SAMPCLNT.MAK is set up for compilation with NMAKE, the Microsoft Program Maintenance Utility provided with Microsoft Visual Studio. SAMPCLNT must have access to the following OLE DB files:
Verify that these files are on the path referred to by the INCLUDE environment variable.
The following example syntax builds a debug version of SAMPCLNT on the Intel x86 platform based on the Win32 (x86) Console Application configuration.
NMAKE /f "sampclnt.mak" CFG="sampclnt - Win32 x86 Debug"
To build SAMPCLNT on another platform or with a different configuration, use one of the following configuration options.
Configuration option | Type of file built |
"sampclnt - Win32 x86 Debug" | Debug version of SAMPCLNT based on Win32 (x86) Console Application |
"sampclnt - Win32 x86 Release" | Retail version of SAMPCLNT based on Win32 (x86) Console Application |
"sampclnt - Win32 (ALPHA) axp Debug" | Debug version of SAMPCLNT based on Win32 (ALPHA) Console Application |
"sampclnt - Win32 (ALPHA) axp Release" | Retail version of SAMPCLNT based on Win32 (ALPHA) Console Application |
"sampclnt - Win32 (PPC) ppc Debug" | Debug version of SAMPCLNT based on Win32 (PPC) Console Application |
"sampclnt - Win32 (PPC) ppc Release" | Retail version of SAMPCLNT based on Win32 (PPC) Console Application |
For additional information about using NMAKE, see the Microsoft Visual Studio documentation.