Novell is now a part of Micro Focus

Is there an function in Novell's C API...

Articles and Tips: qna

01 Mar 2002


Q.

Is there an function in Novell's C API that is similar to Microsoft's FormatMessageText(), that when passed, an error code and a string buffer will provide the developer with the text describing the error?

A.

Unluckily as far as I know there is no C API for NLMs that will do this. However, there is a Win32 DLL (NWErr32.dll) for that purpose, written by one of our Engineers in Germany. He wrote the DLL and it comes with full (Delphi) source which basically is nothing but a big string table with a case statement. Check the sample area at http://developer.novell.com/support/sample.htm

for information and to download the NWERRDLL.

* 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