lavezzi Posted November 3, 2009 Posted November 3, 2009 Hi, Ive got this function in a dll: Public Function evDiff(ByVal chipsPtr As IntPtr, ByVal sb As Integer, ByVal bb As Integer, ByVal ante As Integer, ByVal handIndex As Integer, ByVal noSB As Boolean, ByVal isPush As Boolean, ByVal myPos As Integer, ByVal allN As Integer) As Double I've wrote in my au3 code this line: $x=dllcall("GameAnalysis.dll","int","evDiff","ptr",$myarray[3],"int",50,"int",100,"int",0,"int",52, "int",false,"int",1,"int",2,"int",0) but the result seems not correct, any fix pls?
trancexx Posted November 4, 2009 Posted November 4, 2009 You are using "int" as the return type. Change it to "double". ♡♡♡ . eMyvnE
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now