Click here to Skip to main content
15,909,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Roger Allen24-Dec-08 0:46
Roger Allen24-Dec-08 0:46 
GeneralRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Maximilien24-Dec-08 1:53
Maximilien24-Dec-08 1:53 
QuestionInteracting with the "computer locked" desktop Pin
Al Huneke22-Dec-08 5:07
Al Huneke22-Dec-08 5:07 
AnswerRe: Interacting with the "computer locked" desktop Pin
Jonathan Davies22-Dec-08 6:07
Jonathan Davies22-Dec-08 6:07 
GeneralRe: Interacting with the "computer locked" desktop Pin
Al Huneke22-Dec-08 7:12
Al Huneke22-Dec-08 7:12 
QuestionAdd a Vista Gadget programmatically Pin
Member 382162022-Dec-08 5:06
Member 382162022-Dec-08 5:06 
QuestionEXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Member 465174122-Dec-08 4:59
Member 465174122-Dec-08 4:59 
AnswerRe: EXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Jonathan Davies22-Dec-08 5:52
Jonathan Davies22-Dec-08 5:52 
Hi,
I've seen similar problems. The first thing I would recomend is to write Open and Close methods. Make sure you check the return values for any errors and display a message box with any error so you can se exactly what the problem is. Then add calls to these from, say, a menu. E.g. a Comms menu with Open and Close options. This will allow you to test if the port truly gets closed when you call Close. Can you then perform Open, Close, Open, Close with no problems?
This separates closing the port from the closing of the application.
Once the Close is proven, then add it to the OnClose window event rather than the destructor.
I'm afraid I don't understand what you mean about closing the application but the exe still running. Do you have a client and server and you close the client in task manager but the server (exe) is still running?
GeneralRe: EXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Member 465174122-Dec-08 17:58
Member 465174122-Dec-08 17:58 
AnswerRe: EXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Jijo.Raj22-Dec-08 9:28
Jijo.Raj22-Dec-08 9:28 
QuestionCan I change the Icon of EXE files dynamically? Pin
Joseph Marzbani22-Dec-08 4:25
Joseph Marzbani22-Dec-08 4:25 
AnswerRe: Can I change the Icon of EXE files dynamically? Pin
Randor 22-Dec-08 4:49
professional Randor 22-Dec-08 4:49 
JokeRe: Can I change the Icon of EXE files dynamically? Pin
Jijo.Raj22-Dec-08 4:52
Jijo.Raj22-Dec-08 4:52 
GeneralRe: Can I change the Icon of EXE files dynamically? Pin
Joseph Marzbani22-Dec-08 6:23
Joseph Marzbani22-Dec-08 6:23 
QuestionHow do I run my code behind "Windows Explorer"? Pin
Joseph Marzbani22-Dec-08 4:18
Joseph Marzbani22-Dec-08 4:18 
AnswerRe: How do I run my code behind "Windows Explorer"? Pin
Baltoro22-Dec-08 9:03
Baltoro22-Dec-08 9:03 
GeneralRe: How do I run my code behind "Windows Explorer"? Pin
Joseph Marzbani22-Dec-08 18:33
Joseph Marzbani22-Dec-08 18:33 
AnswerRe: How do I run my code behind "Windows Explorer"? Pin
Code-o-mat22-Dec-08 9:05
Code-o-mat22-Dec-08 9:05 
QuestionExercise Pin
gmcount22-Dec-08 3:50
gmcount22-Dec-08 3:50 
AnswerRe: Exercise Pin
jeron122-Dec-08 4:49
jeron122-Dec-08 4:49 
Question.PNG images in MFC Pin
Mustapha Rédouane22-Dec-08 3:37
Mustapha Rédouane22-Dec-08 3:37 
AnswerRe: .PNG images in MFC Pin
Sarath C22-Dec-08 4:02
Sarath C22-Dec-08 4:02 
QuestionTrue color icons in MFC Pin
Mustapha Rédouane22-Dec-08 3:29
Mustapha Rédouane22-Dec-08 3:29 
AnswerRe: True color icons in MFC Pin
Sarath C22-Dec-08 4:10
Sarath C22-Dec-08 4:10 
GeneralRe: True color icons in MFC Pin
Mustapha Rédouane22-Dec-08 23:39
Mustapha Rédouane22-Dec-08 23:39 

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.