Click here to Skip to main content
16,004,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: XFS API Pin
Hamid_RT13-Jan-07 2:41
Hamid_RT13-Jan-07 2:41 
AnswerRe: XFS API Pin
viewman4-Jul-12 20:54
viewman4-Jul-12 20:54 
Questionhow to retrieve the application running in a remote computer? Pin
vedhapsg12-Jan-07 22:51
vedhapsg12-Jan-07 22:51 
AnswerRe: how to retrieve the application running in a remote computer? Pin
Don Box12-Jan-07 22:58
Don Box12-Jan-07 22:58 
GeneralRe: how to retrieve the application running in a remote computer? Pin
vedhapsg12-Jan-07 23:09
vedhapsg12-Jan-07 23:09 
AnswerRe: how to retrieve the application running in a remote computer? Pin
Cristian Amarie13-Jan-07 4:29
Cristian Amarie13-Jan-07 4:29 
QuestionOnClose Call Multiple Times Pin
User 1278212-Jan-07 21:16
User 1278212-Jan-07 21:16 
AnswerRe: OnClose Call Multiple Times Pin
CPallini12-Jan-07 21:48
mveCPallini12-Jan-07 21:48 
Aaron Stubbendieck wrote:
the OnClose gets called multiple times


Have you missing the call of the base class OnClose() in your handler, haven't you?


Aaron Stubbendieck wrote:
crashes during the cleanup, attempting to delete the same memory multiple times.


Use the following behaviour when performing cleanup:
if ( pSomeObject )
{
   delete pSomeObject;
   pSomeObject = NULL;
}

At least, this avoids program crashes due to multiple delete calls.

Smile | :)



If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

AnswerRe: OnClose Call Multiple Times Pin
Hadi Dayvary12-Jan-07 21:49
professionalHadi Dayvary12-Jan-07 21:49 
GeneralRe: OnClose Call Multiple Times Pin
#realJSOP12-Jan-07 23:39
professional#realJSOP12-Jan-07 23:39 
AnswerRe: OnClose Call Multiple Times Pin
Don Box12-Jan-07 22:09
Don Box12-Jan-07 22:09 
AnswerRe: OnClose Call Multiple Times Pin
#realJSOP12-Jan-07 23:53
professional#realJSOP12-Jan-07 23:53 
GeneralRe: OnClose Call Multiple Times Pin
User 1278217-Jan-07 10:31
User 1278217-Jan-07 10:31 
AnswerRe: OnClose Call Multiple Times Pin
Gary R. Wheeler13-Jan-07 2:52
Gary R. Wheeler13-Jan-07 2:52 
GeneralRe: OnClose Call Multiple Times Pin
#realJSOP13-Jan-07 3:31
professional#realJSOP13-Jan-07 3:31 
GeneralRe: OnClose Call Multiple Times Pin
Gary R. Wheeler13-Jan-07 4:02
Gary R. Wheeler13-Jan-07 4:02 
QuestionHow to change the Dialog's caption Pin
Mushtaque Nizamani12-Jan-07 19:59
Mushtaque Nizamani12-Jan-07 19:59 
AnswerRe: How to change the Dialog's caption Pin
Don Box12-Jan-07 20:02
Don Box12-Jan-07 20:02 
AnswerRe: How to change the Dialog's caption Pin
jk chan13-Jan-07 0:55
jk chan13-Jan-07 0:55 
AnswerRe: How to change the Dialog's caption Pin
Hamid_RT13-Jan-07 2:40
Hamid_RT13-Jan-07 2:40 
AnswerRe: How to change the Dialog's caption Pin
Eytukan13-Jan-07 22:03
Eytukan13-Jan-07 22:03 
QuestionLoading a class from a lib(dll) file Pin
Hadi Dayvary12-Jan-07 19:39
professionalHadi Dayvary12-Jan-07 19:39 
AnswerRe: Loading a class from a lib(dll) file Pin
Don Box12-Jan-07 19:55
Don Box12-Jan-07 19:55 
GeneralRe: Loading a class from a lib(dll) file Pin
Hadi Dayvary12-Jan-07 21:46
professionalHadi Dayvary12-Jan-07 21:46 
GeneralRe: Loading a class from a lib(dll) file Pin
ThatsAlok14-Jan-07 19:58
ThatsAlok14-Jan-07 19:58 

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.