COleTemplateServer
The COleTemplateServer class is used for OLE visual editing servers, automation servers, and link containers (applications that support links to embeddings). This class is derived from the class COleObjectFactory; usually, you can use COleTemplateServer directly rather than deriving your own class. COleTemplateServer uses a CDocTemplate object to manage the server documents. Use COleTemplateServer when implementing a full server, that is, a server that can be run as a standalone application. Full servers are typically multiple document interface (MDI) applications, although single document interface (SDI) applications are supported. One COleTemplateServer object is needed for each type of server document an application supports; that is, if your server application supports both worksheets and charts, you must have two COleTemplateServer objects.
COleTemplateServer overrides the OnCreateInstance member function defined by COleObjectFactory. This member function is called by the framework to create a C++ object of the proper type.
For more information about servers, see the article in Visual C++ Programmer’s Guide.
#include <afxdisp.h>
Class Members | Base Class | Hierarchy Chart
See Also COleServerDoc, COleServerItem