This example sets the path in the IniPath property to an application’s key in the Windows Registry.
CdbDBEngine dbeng; LPCTSTR pstr; pstr ="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MyApp\\3.0\\KeyFolder"; dbeng.SetIniPath(pstr);