Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
TRY
Expand Minimize

ISAPIVERIFY 

Works exactly like the MFC macro VERIFY.


ISAPIVERIFY(booleanExpression )

Parameters

booleanExpression

Specifies an expression (including pointer values) that evaluates to nonzero or 0.

In the debug version of your application, the ISAPIVERIFY 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 your application, ISAPIVERIFY 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.

ISAPI applications do not have to use MFC. If MFC is not linked to your application, ISAPIVERIFY provides the same VERIFY functionality. If your application is linked to the MFC, ISAPIVERIFY simply calls MFC's VERIFY.

Community Additions

ADD
Show:
© 2015 Microsoft