www.pudn.com > DLL_Func.rar > DLL_Func.h


// DLL_Func.h : main header file for the DLL_FUNC DLL 
// 
 
#if !defined(AFX_DLL_FUNC_H__7E75FCBA_4E54_42A1_9D49_27E3DA97C0BF__INCLUDED_) 
#define AFX_DLL_FUNC_H__7E75FCBA_4E54_42A1_9D49_27E3DA97C0BF__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#ifndef __AFXWIN_H__ 
	#error include 'stdafx.h' before including this file for PCH 
#endif 
 
#include "resource.h"		// main symbols 
 
///////////////////////////////////////////////////////////////////////////// 
// CDLL_FuncApp 
// See DLL_Func.cpp for the implementation of this class 
// 
#ifndef __DLLFUNC 
#define DLLFUNC_EXPORT  __declspec(dllexport) 
#else 
#define DLLFUNC_EXPORT  __declspec(dllimport) 
#endif 
 
short DLLFUNC_EXPORT GetAddResult(short num1, short num2, short *rlt);	//ΗσΊΝ 
 
class CDLL_FuncApp : public CWinApp 
{ 
public: 
	CDLL_FuncApp(); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDLL_FuncApp) 
	//}}AFX_VIRTUAL 
 
	//{{AFX_MSG(CDLL_FuncApp) 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLL_FUNC_H__7E75FCBA_4E54_42A1_9D49_27E3DA97C0BF__INCLUDED_)