MCErrorMessages.h File Reference

Enumerations

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

Functions

const TMCStringGetErrorMessage (EMCErrorCode errorCode)

Enumeration Type Documentation

The MCCore error codes.

Enumerator:
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 Apr 26 22:47:31 2010 for Carrara SDK Doc by  doxygen 1.6.3