Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCFileDialog Pin
Member 80845913-Jan-04 17:28
Member 80845913-Jan-04 17:28 
GeneralRe: CFileDialog Pin
22491713-Jan-04 21:41
22491713-Jan-04 21:41 
GeneralRe: CFileDialog Pin
Christian Graus13-Jan-04 17:28
protectorChristian Graus13-Jan-04 17:28 
GeneralRe: CFileDialog Pin
TWS_Dave13-Jan-04 23:26
TWS_Dave13-Jan-04 23:26 
GeneralDisable ASSERTS Pin
misha_grewal13-Jan-04 16:55
misha_grewal13-Jan-04 16:55 
GeneralRe: Disable ASSERTS Pin
Christian Graus13-Jan-04 17:24
protectorChristian Graus13-Jan-04 17:24 
GeneralRe: Disable ASSERTS Pin
Rob Manderson13-Jan-04 23:06
protectorRob Manderson13-Jan-04 23:06 
GeneralRe: Disable ASSERTS Pin
rpins13-Jan-04 17:27
rpins13-Jan-04 17:27 
Most ASSERT macros (I'm assuming you're using some Microsoft version of them) are enabled in debug compilations and then nullified for release versions. In other words, an ASSERT macro might be defined like this:

#ifdef _DEBUG
#define ASSERT(expr) ...some assert code...
#else
#define ASSERT(expr)
#endif

Notice how the second ASSERT defition has nothing after it. That's because in non-debug builds, you don't want assertions to do anything. So, to possibly answer your question, you should probably dig up where your ASSERT is being defined and do #undef _DEBUG (to undefine debug build). Unfortunately, that turns off most debug features since many things test against _DEBUG being defined. Either do that, or compile as release, or create your own ASSERT macro based on other example code.

HTH
GeneralRe: Disable ASSERTS Pin
l a u r e n13-Jan-04 18:32
l a u r e n13-Jan-04 18:32 
GeneralRe: Disable ASSERTS Pin
Prakash Nadar13-Jan-04 22:55
Prakash Nadar13-Jan-04 22:55 
GeneralRe: Disable ASSERTS Pin
misha_grewal13-Jan-04 23:13
misha_grewal13-Jan-04 23:13 
GeneralNext Dll Question ;) Pin
bryce13-Jan-04 15:33
bryce13-Jan-04 15:33 
GeneralRe: Next Dll Question ;) Pin
bryce13-Jan-04 17:45
bryce13-Jan-04 17:45 
GeneralRe: Next Dll Question ;) Pin
Buddhike de Silva13-Jan-04 18:32
Buddhike de Silva13-Jan-04 18:32 
Question"Unhandled exception in Test.ex[MSCTF.DLL]:0XC0000005:Access Violation"??? Pin
zhaopzhi13-Jan-04 15:17
zhaopzhi13-Jan-04 15:17 
Questionhow can i send/receive packets to POP3/IMAP server Pin
chirag_chauhan13-Jan-04 15:06
chirag_chauhan13-Jan-04 15:06 
AnswerRe: how can i send/receive packets to POP3/IMAP server Pin
murali_utr13-Jan-04 18:15
murali_utr13-Jan-04 18:15 
GeneralCircular inclusions... Pin
Anonymous13-Jan-04 15:04
Anonymous13-Jan-04 15:04 
GeneralRe: Circular inclusions... Pin
Christian Graus13-Jan-04 17:26
protectorChristian Graus13-Jan-04 17:26 
GeneralRe: Circular inclusions... Pin
Ryan Binns13-Jan-04 17:35
Ryan Binns13-Jan-04 17:35 
GeneralRe: Circular inclusions... Pin
Anonymous13-Jan-04 18:25
Anonymous13-Jan-04 18:25 
GeneralRe: Circular inclusions... Pin
Marcello16-Jan-04 7:58
Marcello16-Jan-04 7:58 
GeneralMFC SDI App Pin
Irish_GUI13-Jan-04 13:44
Irish_GUI13-Jan-04 13:44 
GeneralRe: MFC SDI App Pin
l a u r e n13-Jan-04 15:32
l a u r e n13-Jan-04 15:32 
GeneralRe: MFC SDI App Pin
Robert A. T. Káldy14-Jan-04 0:44
Robert A. T. Káldy14-Jan-04 0:44 

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.