You can also obtain the text corresponding to the system error code by
passing it into SysErrString.

Mark Peters
]
"Joe" <[EMAIL PROTECTED]> wrote in message
news:75992@palm-dev-forum...
>
> --- Bill Andreozzi wrote:
> > Does anyone have a quick example as to how to convert an Err
> > (returned from DmGetLastErr() ) to a char * that I can use
> > in a trace.
>
> Well, Err is just a TypeDef for UInt16, so you could use StrIToA() or
> StrPrintF() to convert it to a string.  SysErrString() is also useful
> to produce more meaningful text (sometimes) but it has serious
> limitations.
>
> The best solution I've seen is John Marshall's ErrorCodes.  See
> http://prc-tools.sourceforge.net/errorcodes.html.  The source code is
> available under the GNU General Public License.
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to