[uuid(. . .), appobject [, coclass-attribute-list]]
coclass classname { [coclass definition]}
[uuid(. . .),helpstring("Hello Class"),appobject] coclass Hello
{[default] interface IHello : IUnknown;
interface IDispatch;
}
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.
TYPEFLAG_FAPPOBJECT
ODL File Syntax, ODL File Example, Generating a Type Library With MIDL, coclass, TYPEFLAGS