Click here to Skip to main content
15,908,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: PostMessage and Send Message Pin
Kharfax16-Feb-07 8:04
Kharfax16-Feb-07 8:04 
GeneralRe: PostMessage and Send Message Pin
AKSIVAKUMAR18-Feb-07 20:44
AKSIVAKUMAR18-Feb-07 20:44 
Questionhow to initiate DMA to transfer a file in Bus master NIC from user application Pin
arun kumar spk16-Feb-07 1:40
arun kumar spk16-Feb-07 1:40 
AnswerRe: how to initiate DMA to transfer a file in Bus master NIC from user application Pin
kakan16-Feb-07 2:22
professionalkakan16-Feb-07 2:22 
QuestionAbout PostMessage Pin
brucerain16-Feb-07 1:31
brucerain16-Feb-07 1:31 
AnswerRe: About PostMessage Pin
Roger Stoltz16-Feb-07 1:58
Roger Stoltz16-Feb-07 1:58 
AnswerRe: About PostMessage Pin
Blake Miller16-Feb-07 12:09
Blake Miller16-Feb-07 12:09 
GeneralRe: About PostMessage Pin
brucerain17-Feb-07 2:14
brucerain17-Feb-07 2:14 
Sorry for not expressing it clearly.The exact meaning is posting message to a window, What I want to know is that if other messages can be post to a window after WM_CLOSE message was already queued, there may be memory leak when message parameters wParam or lParam is really a pointer and must be deleted in the message handling function.

The background of this question is:there is an object created in the heap and there are more than one window need to process this object.We post this object as
a pointer in the parameter wParam and decrease the object reference after processing it.If message was post to the window's message queue but not processed by the window, then reference counter will never be decreased and the object will
never be deleted.So memory leak happens!

Anybody knows how to process this kind of problem?
GeneralRe: About PostMessage Pin
Gary R. Wheeler17-Feb-07 3:35
Gary R. Wheeler17-Feb-07 3:35 
QuestionMDI application/Window Menu Pin
AKSIVAKUMAR16-Feb-07 0:48
AKSIVAKUMAR16-Feb-07 0:48 
AnswerRe: MDI application/Window Menu Pin
AKSIVAKUMAR19-Feb-07 18:09
AKSIVAKUMAR19-Feb-07 18:09 
QuestionXP theme visual c++ application Pin
minkowski15-Feb-07 23:54
minkowski15-Feb-07 23:54 
AnswerRe: XP theme visual c++ application Pin
toxcct15-Feb-07 23:57
toxcct15-Feb-07 23:57 
GeneralRe: XP theme visual c++ application Pin
#realJSOP16-Feb-07 3:30
professional#realJSOP16-Feb-07 3:30 
AnswerRe: XP theme visual c++ application Pin
#realJSOP16-Feb-07 3:33
professional#realJSOP16-Feb-07 3:33 
AnswerRe: XP theme visual c++ application Pin
#realJSOP16-Feb-07 8:31
professional#realJSOP16-Feb-07 8:31 
GeneralDynamically loading one dll from another dynamically loaded dll Pin
Johan Pretorius15-Feb-07 23:48
Johan Pretorius15-Feb-07 23:48 
GeneralRe: Dynamically loading one dll from another dynamically loaded dll Pin
Suresh H15-Feb-07 23:53
Suresh H15-Feb-07 23:53 
GeneralRe: Dynamically loading one dll from another dynamically loaded dll Pin
Johan Pretorius15-Feb-07 23:57
Johan Pretorius15-Feb-07 23:57 
GeneralRe: Dynamically loading one dll from another dynamically loaded dll Pin
Suresh H16-Feb-07 0:01
Suresh H16-Feb-07 0:01 
GeneralRe: Dynamically loading one dll from another dynamically loaded dll Pin
Blake Miller16-Feb-07 12:10
Blake Miller16-Feb-07 12:10 
QuestionList Box & Rich Edit box [modified] Pin
Suresh H15-Feb-07 23:03
Suresh H15-Feb-07 23:03 
AnswerRe: List Box & Rich Edit box Pin
prasad_som15-Feb-07 23:14
prasad_som15-Feb-07 23:14 
GeneralRe: List Box & Rich Edit box Pin
Suresh H15-Feb-07 23:26
Suresh H15-Feb-07 23:26 
GeneralRe: List Box & Rich Edit box Pin
Hamid_RT16-Feb-07 0:30
Hamid_RT16-Feb-07 0:30 

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.