找回密码
 加入
搜索
查看: 1729|回复: 1

[AU3基础] 菜鸟请教dllcall的一个例子

[复制链接]
发表于 2013-7-28 11:56:42 | 显示全部楼层 |阅读模式
我想在traderbase.dll中调用一个函数__int64 __cdecl traderBase::GetCommissionFee(void),traderbase.dll是期货交易软件中的dll;  输出函数名称是通过dll查看器显示的,顺序号77。
要请教的问题是,要用dllcall调用时,具体该怎么写?

DllCall("traderbase.dll", "int64:cdecl","__int64 __cdecl traderBase::GetCommissionFee(void)" )

还是
DllCall("traderbase.dll", "int64:cdecl"," traderBase::GetCommissionFee" )

一直输出为0,不知道对不对?
发表于 2013-7-28 14:51:56 | 显示全部楼层
traderBase::
这个是不需要滴
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-27 23:37 , Processed in 0.089598 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表