Socpp (C++) (SQL-DMO)

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

The Socpp sample is a console application.

Build Configurations

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

Build target CFG parameter Output directory
Intel x86 debug “socpp - Win32 Debug” Debug
Intel x86 release “socpp - Win32 Release” Release
Alpha debug “socpp - Win32 (ALPHA) Debug” socpp___
Alpha release “socpp - Win32 (ALPHA) Release” socpp__O

Functions Illustrated

Application::GetName; CoCreateInstance; ErrorInfo::GetDescription; ErrorInfo::GetSource; GetErrorInfo; Release; SQLServer::Connect; SQLServer::GetApplication; SQLServer::GetVersionMajor; SQLServer::GetVersionString; SQLServer::SetLoginTimeout; SysFreeString

  


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