www.pudn.com > funcdll.rar > funcdll.h, change:2011-02-14,size:1121b

// The following ifdef block is the standard way of creating macros which make exporting  
// from a DLL simpler. All files within this DLL are compiled with the FUNCDLL_EXPORTS 
// symbol defined on the command line. this symbol should not be defined on any project 
// that uses this DLL. This way any other project whose source files include this file see  
// FUNCDLL_API functions as being imported from a DLL, whereas this DLL sees symbols 
// defined with this macro as being exported. 
#define FUNCDLL_API __declspec(dllexport) 
#define FUNCDLL_API __declspec(dllimport) 
// This class is exported from the funcdll.dll 
class FUNCDLL_API Cfuncdll { 
	// TODO: add your methods here. 
extern FUNCDLL_API int nfuncdll; 
FUNCDLL_API int fnfuncdll(void); 
extern "C" 
	FUNCDLL_API int Add(int var1,int var2); 
	FUNCDLL_API int Minus(int var1,int var2); 
	FUNCDLL_API int Div(int var1,int var2); 
	FUNCDLL_API int Multi(int var1,int var2); 
	FUNCDLL_API int Mode(int var1,int var2); 
	FUNCDLL_API void GetVer(char * str1);