www.pudn.com > DLLMAIN.rar > dllmain.cpp, change:2010-11-21,size:507b


// dllmain.cpp : Defines the entry point for the DLL application. 
// 
 
#include "stdafx.h" 
 
 
#include "stdafx.h" 
 
 
#ifdef _MANAGED 
#pragma managed(push, off) 
#endif 
 
//BOOL APIENTRY DllMain( HMODULE hModule, 
//                       DWORD  ul_reason_for_call, 
//                       LPVOID lpReserved 
//					 ) 
//{ 
//    return TRUE; 
//} 
 
#ifdef _MANAGED 
#pragma managed(pop) 
#endif 
 
 
extern   "C"   __declspec(dllexport)   int mytestfuncsum(int a,int b) 
{ 
	return a+b; 
}