capo Posted February 16, 2009 Share Posted February 16, 2009 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? Link to comment Share on other sites More sharing options...
monoceres Posted February 16, 2009 Share Posted February 16, 2009 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! Link to comment Share on other sites More sharing options...
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