Rebuilding the ActiveX Data Objects Samples
The ActiveX Data Objects (ADO) samples can be rebuilt on either the Windows 95
or Windows NT platforms. However, the samples only execute on Windows NT,
which provides required support for Unicode.
To rebuild the ADO samples using
the Microsoft Developer Studio
-
Start Developer Studio.
To specify the Include Files
directory
-
Click the Settings menu.
-
Click the Tools menu item.
-
Click the Directories tab.
-
In the Show Directories For: pulldown, select Include Files.
-
Specify the oledbsdk\ado\include directory.
To specify the Library Files
directory
-
Click the Settings menu.
-
Click the Tools menu item.
-
Click the Directories tab.
-
In the Show Directories For: pulldown, select Library Files.
-
Specify the oledbsdk\ado\include directory.
To create a workspace project
-
Click the File menu.
-
Click the Open Workspace... menu item. Select the directory of the sample you
wish to rebuild. Open the makefile (.MAK) in that directory. (A project
file (.MDP) is created which will capture implicit settings derived from the
makefile, and explicit settings made through dialogs. If you open this
project file at a later date your settings will be restored automatically.)
To specify the type of MFC DLL
-
Click the Build menu.
-
Click the Settings menu item.
-
Click the General tab.
-
In the Microsoft Foundation Classes pulldown, specify the desired type of DLL
(shared or static, release or debug, etc.)
-
Make any other custom specifications you need (such as optional listing files,
output directories, or debug options).
To rebuild the sample
-
Click the Build menu.
-
Click the Build menu item.