www.gusucode.com > VC++动态链接库DLL操作实例-源码程序 > VC++动态链接库DLL操作实例-源码程序/code/如何在MFC扩展DLL中导出类/Test/ExtClass.cpp

    //Download by http://www.NewXing.com
// ExtClass.cpp: implementation of the CExtClass class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"

#include "ExtClass.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CExtClass::CExtClass()
{

}

CExtClass::~CExtClass()
{

}

void CExtClass::Test()
{
	AfxMessageBox(_T("DLL中的类。"));
}