void odsfv(PCWSTR wszFunction, PCWSTR wszFormat, va_list argptr) { CCString s; s.FormatvW(wszFormat, argptr); _odsf(wszFunction, s); return; }
void __cdecl MsgBoxf(PCWSTR wszString, ...) { CCString Buf; va_list argptr; va_start(argptr, wszString); Buf.FormatvW(wszString, argptr); va_end(argptr); MessageBoxW(0, Buf, 0, MB_OK | MB_ICONASTERISK); }
void MsgBoxfv(PCWSTR String, va_list argptr) { CCString Buf; Buf.FormatvW(String, argptr); if(__g_bLogOpened == TRUE) { __g_Log._AddEntry(Buf); } MessageBoxW(0, Buf, 0, MB_OK | MB_ICONASTERISK); }