小编sag*_*agi的帖子

使用dllimport

我正在尝试使用DllImport以下代码中的属性:

[DllImport("grfinger.dll",EntryPoint="_grstartenroll@4")]
public static extern int startenroll(int context);
Run Code Online (Sandbox Code Playgroud)

获取我使用dumpbin/export的函数名称.当我运行代码时,我得到以下异常:

Unable to find an entry point name '_grstartenroll@4' in DLL 'grfinger.dll'.

我该如何解决这个错误?

c# pinvoke name-decoration

2
推荐指数
1
解决办法
1071
查看次数

标签 统计

c# ×1

name-decoration ×1

pinvoke ×1