调用.NET动态库的创新安装 [英] Calling a .Net dll in inno setup

查看:117
本文介绍了调用.NET动态库的创新安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图加载用C#为Inno Setup的一个dll。

I'm trying to load a dll written in c# into inno setup.

下面是code:

function Check(version, dir: String): Integer;
external 'Check@{src}\check.dll stdcall';

然后我把它与检查(X,Y)

但该dll不可能是装:-( 我尝试着用 STDCALL CDECL

But the dll couldnt be loaded :-( I tried it with stdcall and cdecl.

这个dll刚刚从txtfile注册表,并分析它的读取。

The dll just reads from a txtfile and parsing it.

类,命名空间是检查,方法是检查静态INT。该check.dll平行于SETUP.EXE

the class, namespace is check, the Method is Check in static int. The check.dll is parallel to setup.exe

为什么心不是那个工作?

Why isnt that working?

推荐答案

看看的托管输出的罗伯特捷。

这篇关于调用.NET动态库的创新安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆