Implementing the IClassFactory Interface for Form Servers

IClassFactory is the OLE interface that client applications use to create new form objects of your form server's message class. The following table lists the IClassFactory methods that are required.

Method Use
CreateInstance Creates a new form object.
LockServer Locks the form server in memory so that startup overhead can be avoided when multiple form objects are created.

For all the information necessary to implement these methods, see the COM and ActiveX Object Services section in the Platform SDK.