Select Cotype dialog

This dialog box allows you to choose a cotype.

select cotype1.gif (4375 bytes)

Ok

Returns the selected type to the previous dialog.

Available types:

(See documentation)

The Eiffel classes corresponding to the base COM types reside in the ECOM library (subfolder Base). The following mapping is used for base COM types:

COM type IDL type Eiffel class
VT_I2 short RTS_SHORT_INTEGER
VT_I4 int INTEGER
VT_R8 double DOUBLE
VT_CY CY expanded ECOM_CURRENCY
VT_BSTR BSTR expanded ECOM_BSTR
VT_DISPATCH IDispatch * expanded ECOM_CLIENT_IUNKNOWN
VT_BOOL VARIANT_BOOL expanded ECOM_VARIANT_BOOL
VT_VARIANT VARIANT expanded ECOM_VARIANT
VT_UNKNOWN IUnknown * expanded ECOM_CLIENT_IDISPATCH
VT_DECIMAL DECIMAL ECOM_DECIMAL
VT_UI1 unsigned char CHARACTER
VT_I8 - RTS_UINTEGER_8
VT_VOID void POINTER
VT_HRESULT HRESULT ECOM_HRESULT
VT_PTR PTR exanded ECOM_PTR [COM_TYPE]

VT_PTR

select cotype2.gif (4914 bytes)

Push the Set type button to select reference type.

Set type

Runs the Select CoType dialog to select Reference type of VT_PTR cotype.

VT_USERDEFINED

select_cotype3.gif (4455 bytes)

Write a name of userdefined type in the edit field.

Cancel

Returns to the previous dialog without type selecting.

Help

Displays this help page.