Jump to content
Sign in to follow this  
capo

enum/dllcall help

Recommended Posts

capo

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
monoceres

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  

×

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.