Returns last occured HGE error description.

char *System_GetErrorMessage();

Return value

Returns pointer to a string that contains last occured error description.


Use System_GetErrorMessage to get the error description when any of the HGE function fails. Usually you wouldn't try to recover but just display a message and exit, so this is the way.

If HGE_LOGFILE system state was set, the error messages are also written to log.


Header: hge.h
Import library: hge.lib