#include "stdafx.h" bool Jenga::AssertReport( const char *lpszFilePath, int line, const char *msg ) { char temporary[8192]; sprintf( temporary, "Application Error!\n\nFile: %s\nLine: %d\nMessage: %s", lpszFilePath, line, msg ); MessageBox( NULL, temporary, "Application Error!", MB_OK | MB_ICONSTOP ); return true; } bool Jenga::AssertReport( const char *lpszFilePath, int line, const std::string &msg ) { Jenga::AssertReport( lpszFilePath, line, msg.c_str() ); return true; }