# GetGeneralErrorString

char *GetGeneralErrorString (int errorCode);

## Purpose

Returns descriptions of error codes defined by the following libraries or instrument drivers:

- The User Interface Library
- The Easy I/O instrument driver
- The Toolbox instrument driver
- The ActiveX Library
- The DIAdem Connectivity Library
- The .NET Library

This can be useful if you write code that contains calls to more than one of these libraries. Since these error codes do not overlap, this function can query the correct library for the error string. This function also returns error descriptions for certain National Instruments shared components.

| Note "No description available." is returned for EasyI/O error codes if the EasyI/O instrument driver is not loaded and linked.

## Parameters

Input
Name | Type | Description
errorCode | integer | Pass the error code for which to retrieve the English description. The error code must be a User Interface Library, an Easy I/O, or a Toolbox error code.

## Return Value

Name | Type | Description
errorDescription | char * | Returns a pointer to a string containing an English description of the error code.