Sets or returns information about the Windows Registry key that contains values for the Microsoft Jet database engine (Microsoft Jet workspaces only).
Syntax
VOIDSetIniPath(LPCTSTR pstr );
CStringGetIniPath(VOID);
Parameters
Type | Example | Description |
LPCTSTR | pstr | Pointer to a string containing the user-supplied portion of the registry key. |
Remarks
You can configure the Microsoft Jet engine with the Windows Registry. You can use the Registry to set options, such as installable ISAM DLLs.
For this option to have any effect, you must set the IniPath property before your application invokes any other DAO code. The scope of this setting is limited to your application and can't be changed without restarting your application.
You also use the Registry to provide initialization parameters for some installable ISAM database drivers. For example, to use Paradox version 4.0, set the IniPath property to a part of the Registry containing the appropriate parameters.
This property recognizes either HKEY_LOCAL_MACHINE or HKEY_LOCAL_USER. If no root key is supplied, the default is HKEY_LOCAL_MACHINE.
Microsoft Jet versions 2.5 or earlier kept initialization information in .ini files.