|
// [!output PROJECT_NAME].h : main header file for the [!output PROJECT_NAME] DLL
//
#pragma once
#using <mscorlib.dll>
using namespace System;
using namespace System::Configuration;
using namespace System::Reflection;
using namespace System::Xml;
//using namespace [!output PROJECT_NAME];
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
// [!output APP_CLASS]
// See [!output PROJECT_NAME].cpp for the implementation of this class
//
/******************************************************************
�����ĵ�ģ������̣�һ���ĵ�ģ���������ڷ�װMFC��ܵ��ĵ�-��ͼ
�ṹ��һ��MFC��ܵ��ĵ�-��ͼ�ṹ������MFC������룬��ô���ǾͿ����ҵ�
һ�µġ��ع顱;������ˣ����Ƿ��֣�һ��MFC�������ӵ�в�ֹһ���ĵ�ģ
�壬�����Ҫ��MFC�����������ػ�֧��һ������չ���ĵ�ģ����У�ͬӦ
�ó������һ����ÿ��MFC�ĵ�����Ӧһ��.NET����֮Ϊ�ĵ�����
ͬ����ÿ���ĵ�����Ҳ����һ����չ�ĵ�����һ��.NET����ͨ����չ��
���������ǿ���ʵ������Microsoft Visual Basic for Applicationһ����
���ο������ơ�
******************************************************************/
class [!output APP_CLASS] : public [!output APP_BASE_CLASS]
{
public:
[!output APP_CLASS]();
CDocument* m_pCurDoc;
/************************************
����.net�ؼ�ʱ��TangramLittleͨ��m_strCreateInfo
�ṩ.NET�ؼ����������ֵ�Լ���.NET�ؼ�
************************************/
CString m_strCreateInfo;
gcroot<Object*> m_pManagedCnnObj;
/************************************
m_pAppObjΪ�����ڶ����Ӧ��.NET����
һ���ĵ�ģ�����ͨ���������������
�ܴ��ڽ��н���������
************************************/
gcroot<Object*> m_pAppObj;
/************************************
m_pExternalAppObjΪ�����ڶ����Ӧ����չ
.NET����һ���ĵ�ģ�����ͨ���������
������ܴ��ڵ���չģ�ͽ��н���������
************************************/
gcroot<Object*> m_pExternalAppObj;
// Overrides
public:
virtual BOOL InitInstance();
// Implementation
BOOL CreateFileFromResource(LPCTSTR lpszResourceName, LPCTSTR lpszType, LPCTSTR lpszTargetName);
Object* GetManagedObj(IDispatch* m_pComObjDisp);
CString StringToCStr(String* str);
DECLARE_MESSAGE_MAP()
};
extern [!output APP_CLASS] theApp;
|
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