www.gusucode.com > VC++动态链接库DLL操作实例-源码程序 > VC++动态链接库DLL操作实例-源码程序/code/如何使用DEF文件导出函数/Test/Test.cpp
//Download by http://www.NewXing.com // Test.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "Test.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } int fnTest(void) { return 100; }