Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help on how to update my Platform SDK! Pin
Michael P Butler23-Dec-03 1:01
Michael P Butler23-Dec-03 1:01 
GeneralRetreive the conent MFC Active Document Server Pin
Member 52603722-Dec-03 19:33
Member 52603722-Dec-03 19:33 
GeneralRetreive the conent MFC Active Document Server Pin
Member 52603722-Dec-03 19:09
Member 52603722-Dec-03 19:09 
GeneralDllExport Function crashing Pin
Kishor Morkhandikar22-Dec-03 18:54
Kishor Morkhandikar22-Dec-03 18:54 
GeneralRe: DllExport Function crashing Pin
Roger Allen23-Dec-03 2:45
Roger Allen23-Dec-03 2:45 
GeneralDDV functions Pin
Dinesh Ahuja22-Dec-03 17:38
Dinesh Ahuja22-Dec-03 17:38 
GeneralRe: DDV functions Pin
David Crow23-Dec-03 4:33
David Crow23-Dec-03 4:33 
GeneralRe: DDV functions Pin
Dinesh Ahuja23-Dec-03 17:16
Dinesh Ahuja23-Dec-03 17:16 
GeneralRe: DDV functions Pin
David Crow29-Dec-03 2:51
David Crow29-Dec-03 2:51 
GeneralRe: DDV functions Pin
Lanka Maheshwar12-Jan-09 18:04
Lanka Maheshwar12-Jan-09 18:04 
QuestionDoes STL supports Unicode ??? Pin
Prakash Nadar22-Dec-03 17:36
Prakash Nadar22-Dec-03 17:36 
AnswerRe: Does STL supports Unicode ??? Pin
Mike Beckerleg22-Dec-03 22:29
Mike Beckerleg22-Dec-03 22:29 
AnswerRe: Does STL supports Unicode ??? Pin
jhwurmbach22-Dec-03 22:48
jhwurmbach22-Dec-03 22:48 
GeneralERROR_ACCESS_DENIED and openprocesstoken() Pin
dp522-Dec-03 17:01
dp522-Dec-03 17:01 
GeneralOnkeyDown in dialog Pin
satadru22-Dec-03 16:51
satadru22-Dec-03 16:51 
GeneralRe: onkeydown in dialog Pin
Monty222-Dec-03 17:59
Monty222-Dec-03 17:59 
GeneralRe: onkeydown in dialog Pin
satadru22-Dec-03 19:35
satadru22-Dec-03 19:35 
GeneralRe: onkeydown in dialog Pin
zeki yugnak23-Dec-03 1:04
zeki yugnak23-Dec-03 1:04 
GeneralVirtual CListView page scrolling Pin
ldaoust22-Dec-03 15:57
ldaoust22-Dec-03 15:57 
QuestionPlease help! the way using SetBitmap, no memory leak? Pin
twing22-Dec-03 15:26
twing22-Dec-03 15:26 
AnswerRe: Please help! the way using SetBitmap, no memory leak? Pin
Monty222-Dec-03 18:05
Monty222-Dec-03 18:05 
if you allocate memory via new operator
then you have to delete it via delete operator
otherwise memory will be leaked

in ur case delete pbmp
would be done in OnDestroy

pbmp should not be a local variable (define it in class)



Live as if your were to die tomorrow. Learn as if you were to live forever.
-Mahatma Gandhi
GeneralRe: absolutely in OnDestroy? No other way? Pin
twing22-Dec-03 19:16
twing22-Dec-03 19:16 
GeneralRe: absolutely in OnDestroy? No other way? Pin
Monty222-Dec-03 19:36
Monty222-Dec-03 19:36 
GeneralRe: because i use it in some threads! Pin
twing22-Dec-03 19:44
twing22-Dec-03 19:44 
GeneralRe: Please help! Smart points could solve my problem??? Pin
twing22-Dec-03 19:34
twing22-Dec-03 19:34 

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.