?

Log in

No account? Create an account
Trevor Stone's Journal
Those who can, do. The rest hyperlink.
Error: Recursive Error in Recursion 
18th-Mar-2008 02:49 pm
java logo
I'm working on some code to integrate our Java system with a 3rd-party COM object. (Yeah, lots of fun.) The COM object is designed to be used in a very procedural style: all methods return a boolean indicating success and provide values using pass-by-reference. If the method fails, you can call the GetLastError method to see what went wrong. The documentation for that method:

GetLastError

Retrieves the last error generated by the engine.

Syntax

bReturnValue = CalcEngine.GetLastError(ErrorMsg)

Parameters

bReturnValue Boolean/Integer: Returned as TRUE (integer = -1) when the operation is successful, and FALSE (integer = 0) when the operation fails. You can get the last error generated by invoking the GetLastError method.
What happens when you call GetLastError when GetLastError returns false is left as an exercise to the imagination.
Comments 
18th-Mar-2008 09:19 pm (UTC)
Wow. That's just... wow.
18th-Mar-2008 11:17 pm (UTC) - Wicker Man
I'm searching across the universe for burn friendly folk to invite to the Wicker Man which is an event in Pennsylvania during Memorial Day weekend. If by chance you might be interested, you can find information about the burn at this website. http://www.wickermanburning.org

Jack in the Green

P.S. I read your post three times and totally don't understand it. But people don't have to always understand each other to be comrads in the burn.
This page was loaded Aug 14th 2018, 3:19 pm GMT.