Share via


COleObjectFactory

This class implements the COM class factory, which creates ActiveX controls and automation objects such as servers, automation objects, and documents.

The COleObjectFactory class has methods for performing the following functions:

  • Managing the registration of objects.
  • Updating the OLE system register, as well as the run-time registration that informs OLE that objects are running and ready to receive messages.
  • Enforcing licensing by limiting use of the control to licensed developers at design time and to licensed applications at run time.
  • Registering control object factories with the OLE system registry.

Remarks

MFC for Windows CE does not support the Revoke and RevokeAll methods of the COleObjectFactory class.

Requirements

**  Windows CE versions:** 2.0 and later  
  Header file: Declared in Afxdisp.h
  Platform: H/PC Pro, Palm-size PC, Pocket PC

See Also

Application Architecture Classes