Sign in to follow this  
Followers 0
capo

enum/dllcall help

2 posts in this topic

Hey, i'm trying to convert vb6 to autoit, and i'm stuck in converting the enums..

it has:

Enum FLAGS
iT = 14
iM = 25
iF = 0
iMODE = 3
End Enum


Private Declare Function SQM Lib "mydll.dll" Alias "SQMO" (AFS as FLAGS) as long

how would i convert this to autoit?

Share this post


Link to post
Share on other sites



The enum is not doing anything else then assigning the values to the variables and the dllcall would look something like this:

DllCall("mydll.dll","long","SQM","long",$iFlag)

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  
Followers 0