ToolsOptionsEnvironment OptionsDelphi OptionsType Library
Use this dialog box to select options for the Type Library editor.
Item |
Description |
SafeCall function mapping |
Determines which functions are declared as safecall when declarations specified in Delphi are converted to Interface Definition Language (IDL) in the generated type library. Safecall functions automatically implement COM conventions for errors and exception handling, converting HRESULT error codes into exceptions. If you are entering function declarations in IDL, you must explicitly specify the calling convention as safecall or stdcall. All v-table interfaces uses SafeCall for all interfaces. Only dual interfaces uses SafeCall only for dual interfaces. Do not map does not use the SafeCall calling convention. |
Pascal |
Delphi language. |
IDL |
Microsoft Interface Definition Language. |
Ignore special CoClass Flags when importing |
When you import an ActiveX Control, the type library importer only imports CoClasses that are not marked as Hidden, Restricted, or Predefined, and marked as Can Create (actually noncreatable). These flags are supposed to be set if the object is intended for general use. However, if you want to create a control for an internal application only, you can override the flags to generate the CoClass wrappers. In this case, you would check Ignore special CoClass flags when importing, Hidden, Restricted, and uncheck Can Create (noncreatable). |
Predefined |
Client applications should automatically create a single instance of this object. |
Restricted |
A coclass marked Restricted is ignored by tools that access COM objects. It is exposed by the type library but restricted to those authorized to use it. |
Hidden |
The interface exists but should not be displayed in a user-oriented browser. |
Can Create |
The instance can be created with CoCreateInstance. |
Display updates before refreshing |
Displays the Apply Updates dialog box, which provides a chance to preview proposed changes to the sources when you try to refresh, save, or register the type library. If this option is not checked, the type library editor automatically updates the sources of the associated object when you make changes in the editor. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|