flwyd: (java logo)
[personal profile] flwyd
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.

Date: 2008-03-18 09:19 pm (UTC)
From: [identity profile] nockergeek.livejournal.com
Wow. That's just... wow.

Wicker Man

Date: 2008-03-18 11:17 pm (UTC)
From: [identity profile] jackgreen60.livejournal.com
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.
May 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2025

Most Popular Tags

Expand Cut Tags

No cut tags
Page generated Saturday, June 14th, 2025 01:58 am
Powered by Dreamwidth Studios