DLL Interface

DeltaMAXGetErrorString

Translates DeltaMAX error codes into English strings.

Syntax

static char* DeltaMAXGetErrorString(const int code)

Parameters

code

The DeltaMAX error code that you want to translate.

Returns

Returns a literal string containing the English error message for the specified error code, or "Unknown error" if the code was not recognized.

Remarks

This function is provided purely for your convenience.

Requirements

This function is declared in DeltaMAX_messages.h. (In order to use the function, you will need to include that file.)

See Also: Error Codes, DeltaMAXGetMessageString