摘要 |
The system, method, and program of this invention enables a developer to write a platform independent program that can read, create, modify, delete, and enumerate registry type of information regardless of whether or not a targeted operating system supports a registry or registry equivalent functionality. More specifically, as disclosed herein, there is a global registry object for carrying out, i.e., mapping, registry functions or registry equivalent functions across multiple operating systems. In particular, the global registry object is used to map registry equivalent functions in an OS/2 operating system environment. A given INI file is specified through a filename field of the global registry object to resemble a registry file. A key and a subkey representative of a Windows registry are stored in an application name of the specified INI file. A value representative of the Windows registry is stored in a key of the specified INI file. Platform specific code specific to the OS/2 operating system contains methods for retrieving the application name and the key from the INI file for use by the global registry object.
|