Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Virtual Directories IIS Pin
bmk95916-Feb-05 5:33
bmk95916-Feb-05 5:33 
Generaldx9 prob Pin
Zizilamoroso14-Feb-05 0:37
Zizilamoroso14-Feb-05 0:37 
GeneralRe: dx9 prob Pin
rocky_pulley14-Feb-05 1:44
rocky_pulley14-Feb-05 1:44 
GeneralRe: dx9 prob Pin
Zizilamoroso14-Feb-05 2:56
Zizilamoroso14-Feb-05 2:56 
GeneralRe: dx9 prob Pin
Bob Ciora14-Feb-05 9:27
Bob Ciora14-Feb-05 9:27 
GeneralRe: dx9 prob Pin
Zizilamoroso14-Feb-05 11:34
Zizilamoroso14-Feb-05 11:34 
GeneralUDP MULTICAST with Winsock2.0 Pin
Anonymous14-Feb-05 0:01
Anonymous14-Feb-05 0:01 
GeneralASSERT problem Pin
BlueCrack13-Feb-05 23:54
BlueCrack13-Feb-05 23:54 
I find some difficulty with ASSERT macro. I know the use of ASSERT, but what should i do to change (redefine) the functionality of ASSERT macro. c below

//file1.cpp
#include "file1.h"
void MyFunc()
{
//...
ASSERT(MyExpr);
//...
}
//EOF
//===============
//file2.cpp
#include "file1.h"
#include "file2.h"
void MyFoo()
{
//...
MyFunc();
//...
}

In this context if the MyExpr in ASSERT of file1.cpp does not evaluate to true the program crashes with Abrot retry cancel option .
But i want to change this behaviour like writing the error value into a file and exit properly.
BUT I SHOULD NOT TOUCH THE FILE1.CPP. I should do the change in file2.cpp or file2.h such that it changes the functionality of ASSERT with out banging. I WANT TO BE IN DEBUG MODE ALSO.:->

GeneralRe: ASSERT problem Pin
David Crow14-Feb-05 3:34
David Crow14-Feb-05 3:34 
GeneralRe: ASSERT problem Pin
BlueCrack15-Feb-05 4:59
BlueCrack15-Feb-05 4:59 
GeneralRe: ASSERT problem Pin
David Crow15-Feb-05 5:54
David Crow15-Feb-05 5:54 
GeneralRe: ASSERT problem Pin
14-Feb-05 5:35
suss14-Feb-05 5:35 
Generalcannot go back to design modus Pin
doneirik13-Feb-05 23:44
doneirik13-Feb-05 23:44 
QuestionHow to set up atx power-up timer ? Pin
rrrado13-Feb-05 22:44
rrrado13-Feb-05 22:44 
Generalsubwindow in window!! Pin
Member 148449613-Feb-05 22:22
Member 148449613-Feb-05 22:22 
GeneralRe: subwindow in window!! Pin
Joel Holdsworth14-Feb-05 2:25
Joel Holdsworth14-Feb-05 2:25 
GeneralRe: subwindow in window!! Pin
Member 148449614-Feb-05 20:59
Member 148449614-Feb-05 20:59 
GeneralRe: subwindow in window!! Pin
David Crow14-Feb-05 3:36
David Crow14-Feb-05 3:36 
GeneralRe: subwindow in window!! Pin
Member 148449614-Feb-05 21:01
Member 148449614-Feb-05 21:01 
GeneralRe: subwindow in window!! Pin
David Crow15-Feb-05 2:26
David Crow15-Feb-05 2:26 
Generalcheckboxes, radiobuttons Pin
kedar.dave13-Feb-05 21:51
kedar.dave13-Feb-05 21:51 
GeneralRe: checkboxes, radiobuttons Pin
ThatsAlok13-Feb-05 22:13
ThatsAlok13-Feb-05 22:13 
Generalprocess migration Pin
mpapeo13-Feb-05 21:41
mpapeo13-Feb-05 21:41 
GeneralMessage handling in a windowless application Pin
nitingtm13-Feb-05 21:11
nitingtm13-Feb-05 21:11 
GeneralRe: Message handling in a windowless application Pin
Blake Miller14-Feb-05 5:38
Blake Miller14-Feb-05 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.