OXAdvancedAssert MACRO

The assertion messages provided in Visual C++ are far from complete. They do not provide your Beta testers the ability to directly notify you of any assertion failures that occur. With the new Assertion dialog provided in the Ultimate Toolbox a dialog will now appear to your testers allowing them to email the notice to you directly from your application.
You simply need to include the header file in your project and the old dialog will be replaced with the new one. You can customize the emailing actions through some very simple code (in fact you should to get the email address right). This will allow accurate reporting of bugs in your projects while still in the beta testing process
You are also able to customize the dialog box appearance that your users will see.

Place the following line in your stdafx.h file to include this functionality:
#include "OXAdvancedAssert.h" // Advanced assertion
void CAssertDialog::OnCustomize{
CString message_holder;

// retrieve the global Assertion Note1 text
message_holder=AppGetAssertNote1() ;
// Now we add some string to the end and reset the global message
messge_holder += "Modifications made by Jeff Scott";
AppSetAssertNote1(message_holder);
// retrieve the global Assertion Note2 text
message_holder=AppGetAssertNote2() ;
// Now we add some string to the end and reset the global message
messge_holder += "Modifications made by Jeff Scott";
AppSetAssertNote2(message_holder);
//What is the email address that is currently receiving the assertion messages
CString email;
email = AppGetAssertEmailAddress() ;
// Now lets change the email address so it goes directly to the programmer not tech support		
if(email == "utb@dundas.com"){		
	email = "jeffs@dundas.com";	
}		
// We now need to change the global email address		
AppSetAssertEmailAddress(email) ;		
}