zhouhaijin 发表于 2015-1-20 16:20:46

[已解决]各位老师帮我看看DllCall 哪里错了

本帖最后由 zhouhaijin 于 2015-1-20 22:42 编辑

我搞错了!!!!


Login( BSTR ConfigFile, BSTR UserID, BSTR Password, int *ErrorID)
我这样写应该哪里错了,各位老师能帮我改正一下吗,我对DLLCall不熟

Local $ErrorID = DllStructCreate("int ErrorID")
Local $dll = DllCall("CTPCom.dll", "none", "Login", "str", "config.xml", "str", "00100", "str", "888888","int*",DllStructGetPtr($ErrorID))
MsgBox(0,"",DllStructGetData($ErrorID,"ErrorID"))
页: [1]
查看完整版本: [已解决]各位老师帮我看看DllCall 哪里错了