Novell is now a part of Micro Focus

Converting Error Codes to Error Messages

Articles and Tips: tip

Wolfgang Schreiber
Novell, Inc.

01 Jan 2001


If you're a developer and want to display more information than a numeric return code when you call a NetWare API , you can either create your own code-to-message conversion table, or if you're developing to Windows, use an existing DLL that does this conversion for you. It can also translate about every known NetWare return code.

NWErr16.DLL and NWErr32.DLL export a single function that takes a number as argument, and returns the error string.

You will find this DLL--together with samples in C, VB, and Delphi--in the TID area at http://developer.novell.com/support/sample/tids/nwerrdll/NWERRDLL.HTM

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates