Help Center

CDicObj.GetErrorInfomethod

Returns a localized description of the specified error code.

WindowsmethodCDicObj.incdocumented

Syntax

PRIVATE FUNCTION CDicObj.GetErrorInfo (BYVAL nError AS LONG = -1) AS DWSTRING

Description

Returns a localized description of the specified error code. If the error is omited, it will return the value returned by the Windows API function GetLastError.

Example

PRIVATE FUNCTION GetErrorInfo (BYVAL nError AS LONG = -1) AS DWSTRING

Reference

  • Include file CDicObj.inc
  • Defined in AfxNova/CDicObj.inc:188
  • Documented in Windows/Windows Script/CDicObj Class.md
  • Topic: CDicObj Class