Richard Robertson Posted March 13, 2006 Posted March 13, 2006 I know that AutoIt's variables are variants, and they support numbers, strings, and window handles. Would I be able to pass a non-window handle back for the scripter to hold on to between functions? I wanted to write a GDIPlus plugin for AutoIt to use on any window, but all I found was the set for an HWND value. How would I pass a different handle, or would AutoIt not support it?
nfwu Posted March 13, 2006 Posted March 13, 2006 I remember that Mx63.dll passed back pointers, but i am not sure how he did it.... maybe convert the pointers into an int? (if i remeber correctly, pointers are 4 bytes....) Maybe pointers will be your solution? #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode()
Richard Robertson Posted March 13, 2006 Author Posted March 13, 2006 Pointers? Thanks, that's actually simple. Just (int)(pointertype) right?
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