Click here to Skip to main content
15,908,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetTextExtent with Bold and Italic font Pin
Cyrus Dang29-Nov-04 6:21
Cyrus Dang29-Nov-04 6:21 
GeneralCreating a Hebrew application Pin
sergio_o29-Nov-04 5:31
sergio_o29-Nov-04 5:31 
GeneralDynamic control creation Pin
Juan Ignacio Garzón29-Nov-04 5:20
Juan Ignacio Garzón29-Nov-04 5:20 
GeneralIf I have multiple NIC with IP addresses, how do I... Pin
DeepT29-Nov-04 5:10
DeepT29-Nov-04 5:10 
QuestionSuggestions for Learning Direct Draw? Pin
PSU Casper29-Nov-04 4:51
PSU Casper29-Nov-04 4:51 
GeneralVERIFY Pin
act_x29-Nov-04 4:17
act_x29-Nov-04 4:17 
GeneralRe: VERIFY Pin
Antony M Kancidrowski29-Nov-04 4:22
Antony M Kancidrowski29-Nov-04 4:22 
GeneralRe: VERIFY Pin
act_x29-Nov-04 4:29
act_x29-Nov-04 4:29 
FROM MSDN

Antony M Kancidrowski wrote:
In the debug version of MFC, the VERIFY macro evaluates its argument. If the result is 0, the macro prints a diagnostic message and halts the program. If the condition is nonzero, it does nothing.

The diagnostic message has the form

assertion failed in file <name> in line <num>

where name is the name of the source file and num is the line number of the assertion that failed in the source file.

In the release version of MFC, VERIFY evaluates the expression but does not print or interrupt the program. For example, if the expression is a function call, the call will be made.


In the debug version of MFC, the VERIFY macro evaluates its argument. If the result is 0, the macro prints a diagnostic message and halts the program. If the condition is nonzero, it does nothing.

The diagnostic message has the form

assertion failed in file <name> in line <num>

where name is the name of the source file and num is the line number of the assertion that failed in the source file.

In the release version of MFC, VERIFY evaluates the expression but does not print or interrupt the program. For example, if the expression is a function call, the call will be made.

VERIFY evaluates the expression but does not print or interrupt the program.

If it doesnt not interrupt the Program why do you need it ?
GeneralRe: VERIFY Pin
Antony M Kancidrowski29-Nov-04 4:41
Antony M Kancidrowski29-Nov-04 4:41 
GeneralRe: VERIFY Pin
David Chamberlain29-Nov-04 8:04
David Chamberlain29-Nov-04 8:04 
Generalfile association in Dialog based application Pin
vyjesh29-Nov-04 1:17
vyjesh29-Nov-04 1:17 
GeneralRe: file association in Dialog based application Pin
Antony M Kancidrowski29-Nov-04 4:32
Antony M Kancidrowski29-Nov-04 4:32 
GeneralRegisterWindowEx Problems... Pin
Anonymous29-Nov-04 0:59
Anonymous29-Nov-04 0:59 
GeneralRe: RegisterWindowEx Problems... Pin
Anonymous29-Nov-04 5:17
Anonymous29-Nov-04 5:17 
Generalhook for console app Pin
efanHarris29-Nov-04 0:44
efanHarris29-Nov-04 0:44 
GeneralProblems with MS Outlook 2000 when using MAPISendMail Pin
Subramanyam29-Nov-04 0:04
Subramanyam29-Nov-04 0:04 
Questionhow to Convert CString object to BYTE object? Pin
pubududilena29-Nov-04 0:02
pubududilena29-Nov-04 0:02 
AnswerRe: how to Convert CString object to BYTE object? Pin
ThatsAlok29-Nov-04 1:48
ThatsAlok29-Nov-04 1:48 
GeneralOutlook .MSG file structure Pin
mcousins28-Nov-04 21:44
mcousins28-Nov-04 21:44 
GeneralRe: Outlook .MSG file structure Pin
JM Navarro29-Nov-04 4:32
JM Navarro29-Nov-04 4:32 
GeneralCTreeCtrl drag &amp; drop Pin
stevy8228-Nov-04 21:33
stevy8228-Nov-04 21:33 
GeneralRe: CTreeCtrl drag &amp; drop Pin
RS.Ratheesh14-Jan-10 22:49
RS.Ratheesh14-Jan-10 22:49 
Generalget name (or class) of parent dialog Pin
tiziacaia28-Nov-04 19:06
tiziacaia28-Nov-04 19:06 
GeneralRe: get name (or class) of parent dialog Pin
ThatsAlok28-Nov-04 20:30
ThatsAlok28-Nov-04 20:30 
GeneralRe: get name (or class) of parent dialog Pin
tiziacaia29-Nov-04 6:23
tiziacaia29-Nov-04 6:23 

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.