Hi.
Does anyone know of any further documentation for the palm api exception
mechanism beyond the odds and sods in the headers and examples. I want to
know the specifics of its use with data manager API calls.
volatile int err=0;
DmOpenRef db;
ErrTry {
db = DmOpenDatabase([things and stuff]);
}
ErrCatch (inErr){
err = inErr
} EndErrCatch
In the above if the call to DmOpenDatabaseByTypeCreator fails does it
automatically throw an exception, and if so does it call
inErr = DmGetLastError()
or do we just have to check the value of inErr in the catch block and call
DmGetLastError ourselves if it is zero?
I would appreciate any pointers that people can share about using this
mechanism. Can the try blocks be nested? Does the program get a chance to
catch fatal exceptions? ...
-haemish
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html