MDAC 2.5 SDK - ODBC Samples


 

Convert DSN Demo Sample Files

Location

The Convert DSN sample code resides in the \Samples\Odbc\Convdsn directory.

Sample Code File Contents

File name Description
Convdsn.c Contains the main application functions. It demonstrates the conversion process by iterating through all User and System DSNs and making a version of the data source name acceptable for use as a file name.
Cdsnbld.mak Builds the ODBC Convert DSN Demo application.
Cdsnbld.bat A batch file that sets up the appropriate environment and invokes the appropriate compiler and linker for building the Convert DSN Demo application.