This example describes a function which calls the MakeReplica method to create a replica of the specified database.
See How to Build the DAO Method Samples.
On the MSDN Library discIf you have installed the DAO SDK, see Samples\dbdaoInstallDirectory\DAOSDK\SAMPLES\MakeReplica.cpp.