RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTypedComObjectFactory.Create Constructor

Instantiates a TTypedComObjectFactory object.

Pascal
C++

Create is used to instantiate a TTypedComObjectFactory. Create is automatically called when the COM server that contains the class definition for a TTypedComObject is loaded. Class factories should be instantiated in the initialization section of the unit that includes their associated server. 

Create allocates memory for a TTypedComObjectFactory, and verifies that a type library exists and is available, before calling the inherited Create. If the type library is not available, an EOleSysError exception is raised. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!