Soc (C) (SQL-DMO)

The Soc sample illustrates using C as a development language for SQL-DMO applications. The sample shows:

The Soc sample is a console application.

Build Configurations

Soc.mak contains nmake configurations for Intel® and Alpha.

Build target CFG parameter Output directory
Intel x86 debug “soc - Win32 Debug” Debug
Intel x86 release “soc - Win32 Release” Release
Alpha debug “soc - Win32 (ALPHA) Debug” soc___WI
Alpha release “soc - Win32 (ALPHA) Release” soc___WO

Functions Illustrated

CoCreateInstance; Release; SQLServer::Connect; SQLServer::SetLoginTimeout

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.