IDL typedef support

In IDL, the typedef construct defines an alias for an existing type. For example:

typedef short TShort;

short is the existing type and TShort is an alias for the same. Aliases to any type that is supported by the ActiveX proxy are supported. Nested IDL typedef declarations are supported, such as:

typedef short TShort;
typedef TShort MyKeyType;

Because ActiveX does not support type aliases, EAServer translates each use of an IDL typedef with the equivalent ActiveX base type declaration. Alias names are not preserved in the ActiveX representation, but you can use IDL interfaces that use type aliasing.