一、VC++6.0(MFC)生产DLL
- 创建工程:新建WIN32 Dynamic-link Library工程bai,工程名为MyDll,选择A simple DLL project类型
- 在StdAfx.h中添加:
extern "C" __declspec(dllexport) int fun(int a, int b);
- 在MyDll.cpp中添加:
int fun(
一、VC++6.0(MFC)生产DLL
extern "C" __declspec(dllexport) int fun(int a, int b);
int fun(