Jump to content

Recommended Posts

Posted

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?

Posted

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!

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...