The Soc sample illustrates using C as a development language for SQL-DMO applications. The sample shows:
The Soc sample is a console application.
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 |
CoCreateInstance; Release; SQLServer::Connect; SQLServer::SetLoginTimeout