Jump to content

Recommended Posts

Posted

Hi, I would like to use AutoIT script to call a function in a DLL with a structure. I have looked into "DllCall" in the help topic but that doesn't help. Can anyone suggest the proper way to approach this kind of DLL?

The function name is "TestCall_Login", it has a structure and a callback function in the parameters.

The return is "0" when the login success.

Username : Test

Password : 12345

TestDll.zip

Posted

AutoIt also has something called DllStructs. It next to DllCall in the help file.

For the callback you should use DllCallbackRegister().

Do your best and post your code if you get trouble, I'm sure we can help you out.

Broken link? PM me and I'll send you the file!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...