vb调用vc编写的dll出现问题,求救! Private Declare Function test Lib "E:\WORK\str\release\str.dll" (ByVal a As Long) As Long 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我现在改为这样了:Private Declare Function test Lib "E:\WORK\str\release\str.dll" (ByVal a As Long) As Long而Vc中我的定义为:extern "C" __declspec(dllexport) long test(long a);但还是不行。 vb说 Bad dll calling conversation 哦,改好了,原来是我没有写.def文件,看了这两篇文章就改好了:http://www.china-askpro.com/msg6/qa85.shtmlhttp://www.china-askpro.com/msg5/qa88.shtml谢谢大家! SQL的同一字段查询. 三问sql查询汇总的问题! 请问:VB也有MSDN吗? 用户声明的类型未定义,请达人帮忙 DATAGRID与RS的绑定,无显示...怪 COM+组件的无状态问题 怎么在form2 call form1定义的函数 窗体始终位于前端怎么弄啊? 怎么在一个循环中捕捉一个事件呢? 关于ADO的问题-- 一个小麻烦。 怎么加入treeview控件,我怎么找不到??? 请问vb适合开发什么样的游戏呢?
Private Declare Function test Lib "E:\WORK\str\release\str.dll" (ByVal a As Long) As Long而Vc中我的定义为:
extern "C" __declspec(dllexport) long test(long a);
但还是不行。
http://www.china-askpro.com/msg6/qa85.shtml
http://www.china-askpro.com/msg5/qa88.shtml谢谢大家!