101,683
社区成员




使用innosetup6.2.2调用c++的库失败,库是用vs2015编写的,希望大佬帮我指出错误
报错如下图
Innosetup脚本
[Files]
Source: "TestDll.dll"; DestDir: "{app}"; Flags:ignoreversion regserver dontcopy regtypelib
procedure testfuna();
external 'testfun@files:TestDll.dll stdcall';
库的代码:
//Mydll.h
extern "C" _declspec(dllexport) void __stdcall testfun();
//Mydll.cpp
#include <iostream>
#include "Mydll.h"
void __stdcall testfun()
{
return;
}
//export.def
LIBRARY "TestDll"
EXPORTS
testfun
vs2015工程配置