MCErrorMessages.h File Reference


Enumerations

enum  EMCErrorCode { kMCUnableToBindToPort = 1, kMCUnableToListenOnPort = 2, kMCUnableToAcceptConnection = 3, kMCUnableToConnect = 4 }

Functions

const TMCString * GetErrorMessage (EMCErrorCode errorCode)

Enumeration Type Documentation

enum EMCErrorCode
 

The MCCore error codes.

Enumeration values:
kMCUnableToBindToPort 
kMCUnableToListenOnPort 
kMCUnableToAcceptConnection 
kMCUnableToConnect 


Function Documentation

const TMCString* GetErrorMessage (  EMCErrorCode  errorCode  ) 
 

Returns a string with the text corresponding to a given error code in MCCore. This function can be called from an extension as well as from the application. and it is thread safe.

Parameters:
errorCode The error code (see EMCErrorCode)
Returns:
A pointer to the error message, NULL if the error message array is not allocated.


Generated on Mon Mar 14 12:28:58 2005 for Carrara SDK Doc by  doxygen 1.3.9.1