QT调用DLL动态库
DLL动态库头文件:
#ifndef _ADAPI32_H_
#define _ADAPI32_H_
#ifdef __cplusplus
extern "C" {
#endif
__declspec(dllexport) int test_int();
__declspec(dllexport) BOOL flg();
__declspec(dllexport) HANDLE ReceiveImage(); //获取图像
#ifdef __cplusplus
}
#endif
#endif
---------------------------------
为什么编译的时候提示:'HANDLE 'does not name a type.
'BOOL'does not name a type.
这是哪的错误?
有哪位高手知道吗?