DELPHI3
This directive is used by the GetOCXPath function. You should define this directive when compiling under Delphi 3. The directive is necessary because the Delphi 3 TRegistry class doesn't support OpenKeyReadOnly which is preferred over the OpenKey method when running under Windows NT (OpenKey may fail when the user does not have write acces to HKEY_CLASSES_ROOT\CLSID). When DELPHI3 is not defined Delphi 4 or higher is assumed and the interface unit automatically uses OpenKeyReadOnly.