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

C / C++ / MFC

 
GeneralRe: Rewriting from vb.net to VC++(VS2005) Pin
David Crow2-Aug-07 3:03
David Crow2-Aug-07 3:03 
QuestionRe: Rewriting from vb.net to VC++(VS2005) Pin
Hamid_RT2-Aug-07 3:55
Hamid_RT2-Aug-07 3:55 
AnswerRe: Rewriting from vb.net to VC++(VS2005) Pin
Rivezle2-Aug-07 4:07
Rivezle2-Aug-07 4:07 
QuestionWhy functions _cexit, _c_exit, exit and _exit do not work in debug mode? Pin
Arris742-Aug-07 2:43
Arris742-Aug-07 2:43 
QuestionRe: Why functions _cexit, _c_exit, exit and _exit do not work in debug mode? Pin
Mark Salsbery2-Aug-07 7:36
Mark Salsbery2-Aug-07 7:36 
AnswerRe: Why functions _cexit, _c_exit, exit and _exit do not work in debug mode? Pin
Arris742-Aug-07 21:53
Arris742-Aug-07 21:53 
GeneralRe: Why functions _cexit, _c_exit, exit and _exit do not work in debug mode? Pin
Mark Salsbery3-Aug-07 5:35
Mark Salsbery3-Aug-07 5:35 
GeneralRe: Why functions _cexit, _c_exit, exit and _exit do not work in debug mode? Pin
Arris743-Aug-07 6:24
Arris743-Aug-07 6:24 
Mark,

Sorry for the confusion, I am not clear with my problem.

Let me give an example.
Suppose the user of my application type-in some data from within an edit control.
This calls a function which calls a 2nd function and finally a 3rd function is called.
But the 3rd function rejects the data entered by the user.
It returns a message to the user.
The user clicks on OK and finally gets the hand on the application.

So the unique solution I've found is _c_exit() that terminates the procedure and gives the hand to the application without closing it.

But is does not work in debug mode.

Any idea?

GeneralRe: Why functions _cexit, _c_exit, exit and _exit do not work in debug mode? Pin
Mark Salsbery3-Aug-07 11:27
Mark Salsbery3-Aug-07 11:27 
QuestionDialog box query Pin
dona jain2-Aug-07 1:13
dona jain2-Aug-07 1:13 
AnswerRe: Dialog box query Pin
Sivaprasad S Nair2-Aug-07 1:42
professionalSivaprasad S Nair2-Aug-07 1:42 
GeneralRe: Dialog box query Pin
dona jain2-Aug-07 1:59
dona jain2-Aug-07 1:59 
GeneralRe: Dialog box query Pin
Christian Graus2-Aug-07 2:06
protectorChristian Graus2-Aug-07 2:06 
GeneralRe: Dialog box query Pin
Christian Graus2-Aug-07 2:05
protectorChristian Graus2-Aug-07 2:05 
AnswerRe: Dialog box query Pin
Christian Graus2-Aug-07 2:14
protectorChristian Graus2-Aug-07 2:14 
AnswerRe: Dialog box query Pin
Roger Broomfield2-Aug-07 2:25
Roger Broomfield2-Aug-07 2:25 
QuestionRe: Dialog box query Pin
Hamid_RT2-Aug-07 2:40
Hamid_RT2-Aug-07 2:40 
AnswerRe: Dialog box query Pin
toxcct2-Aug-07 2:43
toxcct2-Aug-07 2:43 
QuestionRe: Dialog box query Pin
David Crow2-Aug-07 3:01
David Crow2-Aug-07 3:01 
AnswerRe: Dialog box query Pin
Hamid_RT2-Aug-07 3:53
Hamid_RT2-Aug-07 3:53 
QuestionRe: Dialog box query Pin
David Crow2-Aug-07 3:59
David Crow2-Aug-07 3:59 
AnswerRe: Dialog box query Pin
Hamid_RT2-Aug-07 5:04
Hamid_RT2-Aug-07 5:04 
AnswerRe: Dialog box query Pin
Sam_c2-Aug-07 4:34
Sam_c2-Aug-07 4:34 
AnswerRe: Dialog box query Pin
ThatsAlok3-Aug-07 0:04
ThatsAlok3-Aug-07 0:04 
Question_putenv LNK2019 Error Pin
baerten2-Aug-07 1:09
baerten2-Aug-07 1:09 

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.