Click here to Skip to main content
15,886,963 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: windows dialog Pin
iLL eFFect2-Jun-06 0:46
iLL eFFect2-Jun-06 0:46 
GeneralRe: windows dialog Pin
Ștefan-Mihai MOGA2-Jun-06 2:18
professionalȘtefan-Mihai MOGA2-Jun-06 2:18 
GeneralRe: windows dialog Pin
Steen Krogsgaard2-Jun-06 2:22
Steen Krogsgaard2-Jun-06 2:22 
Questionc++.net using Acrobat Pin
Bassieeee1-Jun-06 23:58
Bassieeee1-Jun-06 23:58 
QuestionASSER - VERIFY [modified] Pin
big_denny_2001-Jun-06 23:49
big_denny_2001-Jun-06 23:49 
AnswerRe: ASSER - VERIFY [modified] Pin
Sarath C1-Jun-06 23:57
Sarath C1-Jun-06 23:57 
AnswerRe: ASSER - VERIFY [modified] Pin
Maxwell Chen1-Jun-06 23:57
Maxwell Chen1-Jun-06 23:57 
AnswerRe: ASSER - VERIFY [modified] Pin
Nibu babu thomas2-Jun-06 0:09
Nibu babu thomas2-Jun-06 0:09 
In release versions ASSERT evaluates to nothing. This means the statements given inside ASSERT are not executed. This could be trouble sometimes when you write statements like...

int i;
ASSERT( (i=GetI()) != 0 );
This statement won't execute in Release versions but will work fine in debug builds. In Release builds all statements depending on the value of 'i' will fail as the code expands to nothing.

In such cases use VERIFY. Which executes in both versions. But will only show an alert box in the debug versions.

int i;
VERIFY( (i=GetI()) != 0 );




Nibu thomas
A Developer

Programming tips[^]  My site[^]

AnswerRe: ASSER - VERIFY [modified] Pin
toxcct2-Jun-06 0:26
toxcct2-Jun-06 0:26 
QuestionForm's Button not responding Pin
Y_Kaushik1-Jun-06 23:37
Y_Kaushik1-Jun-06 23:37 
AnswerRe: Form's Button not responding Pin
_anil_1-Jun-06 23:55
_anil_1-Jun-06 23:55 
QuestionDesktop COntext Menus Pin
Anil_vvs1-Jun-06 23:21
Anil_vvs1-Jun-06 23:21 
AnswerRe: Desktop COntext Menus Pin
Sarath C2-Jun-06 0:01
Sarath C2-Jun-06 0:01 
Questionright-aligned shortcuts in popup menu Pin
Dovgan Vitaliy1-Jun-06 23:12
Dovgan Vitaliy1-Jun-06 23:12 
AnswerRe: right-aligned shortcuts in popup menu Pin
toxcct1-Jun-06 23:14
toxcct1-Jun-06 23:14 
AnswerRe: right-aligned shortcuts in popup menu Pin
Viorel.1-Jun-06 23:29
Viorel.1-Jun-06 23:29 
GeneralRe: right-aligned shortcuts in popup menu Pin
Dovgan Vitaliy2-Jun-06 2:10
Dovgan Vitaliy2-Jun-06 2:10 
GeneralRe: right-aligned shortcuts in popup menu Pin
Viorel.2-Jun-06 2:55
Viorel.2-Jun-06 2:55 
AnswerMessage Removed Pin
14-Jul-22 7:44
Member 775720414-Jul-22 7:44 
Questionnetwork function Pin
pandikumar1-Jun-06 23:00
pandikumar1-Jun-06 23:00 
AnswerRe: network function Pin
Hamid_RT1-Jun-06 23:04
Hamid_RT1-Jun-06 23:04 
AnswerRe: network function Pin
Ștefan-Mihai MOGA2-Jun-06 2:09
professionalȘtefan-Mihai MOGA2-Jun-06 2:09 
Questionoutlook scan Pin
cnez1-Jun-06 22:44
cnez1-Jun-06 22:44 
QuestionCall a function after showing the dialog. Pin
Ayesha Farheen1-Jun-06 22:21
Ayesha Farheen1-Jun-06 22:21 
AnswerRe: Call a function after showing the dialog. Pin
_AnsHUMAN_ 1-Jun-06 22:33
_AnsHUMAN_ 1-Jun-06 22:33 

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.