1 |
/* wptErrors.cpp - Error management |
/* wptErrors.cpp - Error management |
2 |
* Copyright (C) 2000-2004 Timo Schulz |
* Copyright (C) 2000-2006 Timo Schulz |
3 |
* |
* |
4 |
* This file is part of WinPT. |
* This file is part of WinPT. |
5 |
* |
* |
147 |
MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT), |
MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT), |
148 |
buf, DIM (buf)-1, NULL); |
buf, DIM (buf)-1, NULL); |
149 |
MessageBox (NULL, buf, head, MB_OK); |
MessageBox (NULL, buf, head, MB_OK); |
150 |
} /* winpt_errmsg */ |
} |
|
|
|
|
|
|
151 |
|
|
|
void |
|
|
winpt_debug_msg( void ) |
|
|
{ |
|
|
char output[768], temp[384]; |
|
|
|
|
|
GetTempPath( sizeof temp -1, temp ); |
|
|
_snprintf( output, sizeof output - 1, |
|
|
"The GPGME output file is gpgme.dbg\n" |
|
|
"The WinPT output file is %swinpt.log\n", temp ); |
|
|
MessageBox( NULL, output, "WinPT now runs in DEBUG MODE", MB_INFO ); |
|
|
} /* winpt_debug_msg */ |
|
152 |
|
|
153 |
|
|
154 |
/* Dummy function. Not sure for what it is used. */ |
/* This function is used to cleanup static debug resources. */ |
155 |
void |
void |
156 |
debug_end (void) |
debug_end (void) |
157 |
{ |
{ |
|
|
|
|
|
|
158 |
} |
} |
159 |
|
|
160 |
|
|
232 |
va_end( arg_ptr ); |
va_end( arg_ptr ); |
233 |
|
|
234 |
return id; |
return id; |
235 |
} /* log_box */ |
} |
236 |
|
|