Jump to content
Sign in to follow this  

How to get return value

Recommended Posts

I'm trying to convert some code from a Microsoft SDK to AutoIt, in the SDK it says:



Data type: UInt32 Array

Qualifiers: [in]

IDs of member resources.


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.



Share this post

Link to post
Share on other sites

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...