15,471
社区成员
发帖
与我相关
我的任务
分享
LIBRARY "test"
EXPORTS
//输出函数定义
函数名 序号,可以随意但不要重复
Test1 @1
add @2
//#ifndef LIB_H
//#define LIB_H
extern "C" __declspec(dllexport) int add(int x, int y);
//#endif
/* 文件名:lib.h */
#ifndef LIB_H
#define LIB_H
extern "C" int __declspec(dllexport)add(int x, int y);
#endif