Jump to content
Sign in to follow this  

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


Share this post

Link to post
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!

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.