appobject

[uuid(. . .), appobject [, coclass-attribute-list]]
coclass
classname { [coclass definition]}

coclass-attribute-list
Specifies zero or more attributes that apply to the coclass statement. Allowable coclass attributes are helpstring, helpcontext, licensed, version, control, and hidden.
classname
Specifies the name by which the component object is known in the type library.

Example

[uuid(. . .),helpstring("Hello Class"),appobject] coclass Hello
    {[default]    interface IHello : IUnknown;
                  interface IDispatch;
    }
 

Remarks

The appobject attribute identifies the coclass as an application object, which is associated with a full EXE application, and indicates that the functions and properties of the coclass are globally available in this type library.

Flags

TYPEFLAG_FAPPOBJECT

See Also

ODL File Syntax, ODL File Example, Generating a Type Library With MIDL, coclass, TYPEFLAGS