#include #define __DEBUG_PRINT_C #define __DEBUG_PRINT_FILE #if defined(__DEBUG_PRINT) || defined(__WINS__) #include // RDebug #ifdef __DEBUG_PRINT_FILE void debugPrintFile(TRefByValue aFmt, ...); #define DEBUGPRINT debugPrintFile #else #define DEBUGPRINT RDebug::Print #endif TDesC* DO_CONV(const char* s); #ifdef __DEBUG_PRINT_C #ifdef __cplusplus extern "C" #endif void lprintf(char *format, ...); #endif #else #define DEBUGPRINT(x...) #undef __DEBUG_PRINT_C #undef __DEBUG_PRINT_FILE #endif void ExceptionHandler(TExcType exc);