Bridge Information
The project has general information about the bridge being used (COM or Java).
Figure 7-8: The Export Bridge Assistant: General Bridge Information
|
|
Table 7-5 describes the general bridge information's properties and values
Table 7-4: General Bridge Information's Properties
|
Property
|
Value
|
|
Name
|
Defaults to "IDL Export Bridge Project for <dest>" where <dest> is "COM" or "Java." Displayed in the sheet header only, it is distinct from the project filename and source object classname and cannot be modified.
|
|
Source object classname
|
Specified by selection of IDL object definition file. The file must be selected, rather than specification of the object by name only. Because this value is obtained from the source object filename, the capitalization is the same as the filename.
|
|
Output classname
|
Defaults to IDL source object class name; must be non-null and a valid IDL identifier. Because this value is obtained from the source object filename, the capitalization is the same as the filename.
|
|
Process name
|
Defaults to `Default_Process_Name'; must be non-null and valid IDL identifier
|
|
Output directory
|
Defaults to location of source object file (.pro or .sav); independent from location of project file and source file (except for initial default to source location).
|
The other properties displayed for the project depends on which bridge it is using: COM or Java. The following describes COM-specific values.
Figure 7-9: The Export Bridge Assistant: COM Bridge Information
|
|
Table 7-5: COM Bridge Information's Property Values
|
Property
|
Value
|
|
Regenerate GUIDs
|
On the first build operation, GUIDS are always generated, so this property is desensitized until after the first build. On subsequent builds, if Regenerate GUIDs is False, the existing GUIDs are used, allowing a developer to use the newly built object without re-registering. If Regenerate GUIDs is true, new GUIDS will be created during a build operation. Any time GUIDs are regenerated during a build operation. they are saved and can be used by setting Regenerate GUIDs to False.
|
|
Explicit CreateObject
|
By default, graphical COM objects (ActiveX objects) call the createObject method automatically when the control is created. If this property is set to True, the automatic call to the createObject method is removed; the client code must then explicitly call one of the CreateObject or CreateObjectEx methods to create the IDL process.
This property is disabled for nongraphical COM objects, which always require an explict call to one of the CreateObject methods.
|
The following describes Java-specific properties and values.
Figure 7-10: The Export Bridge Assistant: Java Bridge Information
|
|
Table 7-6: Java Bridge Information's Property Values
|
Property
|
Value
|
|
Package name
|
Defaults to source object class name. Because this value is obtained from the source object filename, the capitalization is the same as the filename.
This property is optional and can be blank. If blank, the Java file and class file will be created in the output directory. If not blank, the name is used to create one or more subdirectories below the output directory. Period characters are separator characters that produce a directory hierarchy in the resulting subdirectory for the result. Each segment between period characters must be a valid identifier.
|