|
#pragma once
#include "dotnetextimpl.h"
/***********************************************************************************
CDotNetServerImpl�Ǿ�̬���MfcDotNetExtLib�е�һ������࣬
����ʵ��TangramLittle�������������Լ��ĵ�ģ������Ķ�̬���أ���ˣ���һ������
TangramLittle��MFC��������Ҫ�����һ�������ʵ�֡�
��C[!output PROJECT_NAME]DotNetServerImpl������CDotNetServerImpl
��������Ա����������virtual HRESULT ConnectMainFrame(CString strMainFrameID)��
���ڶ�̬���������ڶ���virtual void AttachDocTemplate()��������һ��
������ĵ�ģ�����
***********************************************************************************/
class C[!output PROJECT_NAME]DotNetServerImpl : public CDotNetServerImpl
{
public:
C[!output PROJECT_NAME]DotNetServerImpl(void);
~C[!output PROJECT_NAME]DotNetServerImpl(void);
/***********************************************************
virtual void AttachDocTemplate() ���ڼ���һ��MFC�ĵ�ģ�壬��
�û�����һ���µ��ĵ����һ���Ѵ��ڵ��ĵ��ǣ����ȵõ����ĵ�
���͵�IDֵ��Ȼ��������ֵ���ĵ�ģ������ֵ��м����ĵ�ģ�壬
�������ʧ�ܣ�����øú������ع������ĵ�ģ�塣����Ĺ������
��DotNetExtImpl::AttachDocTemplate(void)��ʵ�֡�
***********************************************************/
virtual void AttachDocTemplate();
/***********************************************************
virtual HRESULT ConnectMainFrame ���ڼ���һ��MFC�����ڶ���
�ڻ���TangramLittle������������ļ�ʱ,����������ļ��ṩ����
Ϣ���������ڶ���,ͨ�������ض��������ļ�,����õ�strMainFrameID,
��������ַ���,���ö�̬���ؼ���,������������ڶ���,����ĵ���
������ο�DotNetExtImpl::InitInstance(void)��ʵ�֡�
***********************************************************/
virtual HRESULT ConnectMainFrame(CString strMainFrameID);
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here