Click here to Skip to main content
15,906,558 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVariable Scope Pin
Gizzo23-Nov-05 23:47
Gizzo23-Nov-05 23:47 
AnswerRe: Variable Scope Pin
khan++23-Nov-05 23:56
khan++23-Nov-05 23:56 
AnswerRe: Variable Scope Pin
Owner drawn23-Nov-05 23:59
Owner drawn23-Nov-05 23:59 
AnswerRe: Variable Scope Pin
sunit524-Nov-05 18:41
sunit524-Nov-05 18:41 
Questioncode execution Pin
micutzu23-Nov-05 23:25
micutzu23-Nov-05 23:25 
Questionhelp needed from "Albert Hermann's article(Easy to use class for ScreenCapture to printer)" Pin
a_david12323-Nov-05 23:23
a_david12323-Nov-05 23:23 
AnswerRe: help needed from "Albert Hermann's article(Easy to use class for ScreenCapture to printer)" Pin
toxcct23-Nov-05 23:41
toxcct23-Nov-05 23:41 
QuestionMultiple application.exe Pin
Boder Coder23-Nov-05 23:19
Boder Coder23-Nov-05 23:19 
How can I avoid multiple instance of an MFC application? My C++ code didn't kill my application even I write exit(). I don't want to close application from task manager at each time. Any suggestions...

here is the my code that dosn't kill application.exe

try
{
m_pEtmenFed->flag=false;
Disconnect();
// I get an exception here

}
catch(...)
{

}

try
{
//This part doesn't work..
exit(m_nExitCode);
//CDialog::OnClose();
}
catch(...)
{

}

AnswerRe: Multiple application.exe Pin
toxcct23-Nov-05 23:36
toxcct23-Nov-05 23:36 
AnswerRe: Multiple application.exe Pin
micutzu23-Nov-05 23:38
micutzu23-Nov-05 23:38 
GeneralRe: Multiple application.exe Pin
Owner drawn24-Nov-05 0:15
Owner drawn24-Nov-05 0:15 
GeneralRe: Multiple application.exe Pin
Boder Coder24-Nov-05 0:39
Boder Coder24-Nov-05 0:39 
GeneralRe: Multiple application.exe Pin
Rage24-Nov-05 1:22
professionalRage24-Nov-05 1:22 
GeneralRe: Multiple application.exe Pin
Jagadeesh VN24-Nov-05 1:24
Jagadeesh VN24-Nov-05 1:24 
GeneralRe: Multiple application.exe Pin
Boder Coder24-Nov-05 2:24
Boder Coder24-Nov-05 2:24 
GeneralRe: Multiple application.exe Pin
toxcct24-Nov-05 2:42
toxcct24-Nov-05 2:42 
GeneralRe: Multiple application.exe Pin
Boder Coder24-Nov-05 2:55
Boder Coder24-Nov-05 2:55 
GeneralRe: Multiple application.exe Pin
Boder Coder24-Nov-05 2:58
Boder Coder24-Nov-05 2:58 
GeneralRe: Multiple application.exe Pin
Blake Miller28-Nov-05 12:58
Blake Miller28-Nov-05 12:58 
QuestionParallel Programming Pin
Gordon Robert Speirs23-Nov-05 23:09
professionalGordon Robert Speirs23-Nov-05 23:09 
Questionproject encryption Pin
pankaj_cout23-Nov-05 23:00
pankaj_cout23-Nov-05 23:00 
AnswerRe: project encryption Pin
toxcct23-Nov-05 23:06
toxcct23-Nov-05 23:06 
QuestionDestruction in C++ Pin
ita_cas23-Nov-05 22:28
ita_cas23-Nov-05 22:28 
AnswerRe: Destruction in C++ Pin
toxcct23-Nov-05 22:32
toxcct23-Nov-05 22:32 
AnswerRe: Destruction in C++ Pin
khan++23-Nov-05 22:35
khan++23-Nov-05 22:35 

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.