Jump to content

Calling DLL function with structure


Recommended Posts

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...