mattw112 Posted July 28, 2010 Posted July 28, 2010 I'm trying to convert some code from a Microsoft SDK to AutoIt, in the SDK it says: Parameters: ResourceIDs Data type: UInt32 Array Qualifiers: [in] IDs of member resources. Approved Data type: Boolean Qualifiers: [in, optional] true if resources are approved for the site. The default value is true. Return Values An SInt32 data type that is 0 to indicate success or non-zero to indicate failure. How would I in AuotIt get that return value? It doesn't give any other info or specifics on the objOutParams.X I should use. I'm trying to do MsgBox(0, "test", "ReturnValue: " & $objOutParams.ReturnValue) But I always just see blank... which may mean it is failing, or that I'm not doing it right. Thanks, Terry
PsaltyDS Posted July 29, 2010 Posted July 29, 2010 If it's a COM object call, then it would be returned from calling the method, not as a property. Which SDK is it, and which method are you looking at? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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