我在C#中是这样调用dll的:
[DllImport("STC.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern void WriteDA(int index, int Value);
但是程序一运行就报错:Unable to find an entry point named 'WriteDA' in DLL 'STC.dll'.
是不是C++Builder不能这样直接调用呢?哪位高手能给指点一下吗?c++builderc#
[DllImport("STC.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern void WriteDA(int index, int Value);
但是程序一运行就报错:Unable to find an entry point named 'WriteDA' in DLL 'STC.dll'.
是不是C++Builder不能这样直接调用呢?哪位高手能给指点一下吗?c++builderc#
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货