flwyd: (step to the moon be careful)
For all passport questions or if you have an appointment please the blonde lady at the front counter (at the far right)

Sign on a door in the US Post Office for ZIP code 80228 (office is in the Federal Center).
flwyd: (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.
August 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 2017

Most Popular Tags

Expand Cut Tags

No cut tags

Subscribe

RSS Atom
Page generated Wednesday, September 20th, 2017 06:04 pm
Powered by Dreamwidth Studios