Particle Posted October 1, 2010 Posted October 1, 2010 I'm not the best at VB6 so I have a hard time interpreting and converting to autoit3. So I just need a simple question answered, if this conversion is correct or not and if not what would be the correct conversion. VB Public Declare Sub double_hash_password Lib "libbnet.dll" (ByVal sPassword As String, ByVal lClientToken As Long, ByVal lServerToken As Long, ByVal sBufferOut As String) Dim HashCode As String * 20: double_hash_password Password, ClientToken, ServerToken, HashCode Au3 Local $HashCode = DllCall("libbnet.dll", "str", "double_hash_password", "Password", "ClientToken", "ServerToken", "HashCode") Hope someone can help!
Calistoga Posted October 1, 2010 Posted October 1, 2010 I'm not very experienced on using DllCall(), but does this work? Local $hashCode = DllCall("libbnet.dll", "str", "double_hash_password", "str", "sPassword", "long", "lClientToken", "long", "lServerToken", "str", "sBufferOut"); You need to replace sPassword, lClientToken, lServerToken and sBufferOut with the proper values of course.
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