Oxin8 Posted January 6, 2006 Share Posted January 6, 2006 How do get the dllstruct(inside another) that was altered by a dll call? i don't know how to say it much better but the code will explain...(psuedocode) $innerstruct = DllStructCreate("byte;long");data we want to retrieve $mainstruct = DllStructCreate("long;ptr") DllStructSetData($mainstruct, 2, DllStructGetPtr($innerstruct)) DllCall($dllname,"long",$function,"ptr",$mainstruct);alters $mainstruct and $innerstruct values now how would i retrieve the "byte" part of $innerstruct? ~My Scripts~ *********_XInput UDF for Xbox 360 ControllerSprayPaint_MouseMovePlus Link to comment Share on other sites More sharing options...
Oxin8 Posted January 6, 2006 Author Share Posted January 6, 2006 Does anyone have any idea? Can this even be done in autoit? ~My Scripts~ *********_XInput UDF for Xbox 360 ControllerSprayPaint_MouseMovePlus Link to comment Share on other sites More sharing options...
Oxin8 Posted January 7, 2006 Author Share Posted January 7, 2006 http://www.autoitscript.com/forum/index.php?showtopic=10813The _DllStructSubStruct function there is what i want but it doesn't work. The example doesn't even work and I'm sure it's do to changes in autoit since may. Is there a new way to do this or can someone change the UDF to work with the current beta? ~My Scripts~ *********_XInput UDF for Xbox 360 ControllerSprayPaint_MouseMovePlus 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