创建 Win32 Dynamic-Link Library
步骤一:
创建Calculate.h头文件
//
// 头文件
// 文件名称:Calculate.h
//
#define LIB_H extern "C" _declspec(dllexport)
//
// 函数声明
//
// 加法函数声明
LIB_H int _stdcall Add(int x, int y);
// 减法函数声明
LIB_H int _
原创
2014-08-15 09:49:17 ·
1410 阅读 ·
0 评论