CompactDatabase Method Example (VC++)

The first example uses CompactDatabase to create a compact version of the Northwind database that uses the Korean language collating order. The second example uses CompactDatabase to create a compact and encrypted Microsoft Jet 2.0 version of a Microsoft Jet version 1.1 database.

See How to Build the DAO Method Samples.

If you have installed the DAO SDK, see InstallDirectory\DAOSDK\SAMPLES\CompactDatabase1.cpp and CompactDatabase2.cpp.