共用方式為


COleServerDoc::COleServerDoc

Constructs a COleServerDoc object without connecting with the OLE system DLLs.

COleServerDoc( );

Remarks

You must call COleLinkingDoc::Register to open communications with OLE. If you are using COleTemplateServer in your application, COleLinkingDoc::Register is called for you by COleLinkingDoc's implementation of OnNewDocument, OnOpenDocument, and OnSaveDocument.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleLinkingDoc::Register

Other Resources

COleServerDoc Members