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

C / C++ / MFC

 
AnswerRe: Non Client Messages Pin
Waldermort7-Oct-06 7:39
Waldermort7-Oct-06 7:39 
QuestionIs there a Memory Leak in my code? Pin
ccp9997-Oct-06 4:30
ccp9997-Oct-06 4:30 
AnswerRe: Is there a Memory Leak in my code? Pin
Waldermort7-Oct-06 6:47
Waldermort7-Oct-06 6:47 
GeneralRe: Is there a Memory Leak in my code? Pin
ccp9997-Oct-06 7:27
ccp9997-Oct-06 7:27 
GeneralRe: Is there a Memory Leak in my code? Pin
jhwurmbach9-Oct-06 3:03
jhwurmbach9-Oct-06 3:03 
GeneralRe: Is there a Memory Leak in my code? Pin
ccp9997-Oct-06 7:31
ccp9997-Oct-06 7:31 
GeneralRe: Is there a Memory Leak in my code? Pin
Waldermort7-Oct-06 7:34
Waldermort7-Oct-06 7:34 
GeneralRe: Is there a Memory Leak in my code? Pin
Abyss7-Oct-06 16:58
Abyss7-Oct-06 16:58 
I'm afraid that you can not delete the string because the PostMessage method posts the message and immediately returns. Note SendMessage sends the message and waits until it is processed. So if you delete the string the method which will process the message (sent via PostMessage) will probably crash because the pointer is invalid. Therefor the message processing should delete the string.
Moreover if this message is posted to different application it is even complicated. In that case I recommend to use GlobalAddAtom and GlobalDeleteAtom. But probably this is not your case...
QuestionHow do I say this... Pin
Learn2LikeIt7-Oct-06 4:08
Learn2LikeIt7-Oct-06 4:08 
AnswerRe: How do I say this... Pin
Hamid_RT7-Oct-06 4:19
Hamid_RT7-Oct-06 4:19 
AnswerRe: How do I say this... Pin
Oliver1237-Oct-06 4:26
Oliver1237-Oct-06 4:26 
AnswerRe: How do I say this... Pin
canerabali8-Oct-06 0:49
canerabali8-Oct-06 0:49 
QuestionDialog tab order Pin
Oliver1237-Oct-06 4:06
Oliver1237-Oct-06 4:06 
AnswerRe: Dialog tab order Pin
Michael Dunn7-Oct-06 7:59
sitebuilderMichael Dunn7-Oct-06 7:59 
AnswerRe: Dialog tab order Pin
Mark Salsbery7-Oct-06 8:15
Mark Salsbery7-Oct-06 8:15 
QuestionHow do I change icon and small icon for a windows class Pin
scody7-Oct-06 3:17
scody7-Oct-06 3:17 
AnswerRe: How do I change icon and small icon for a windows class Pin
Hamid_RT7-Oct-06 3:36
Hamid_RT7-Oct-06 3:36 
QuestionRe: How do I change icon and small icon for a windows class Pin
scody7-Oct-06 9:20
scody7-Oct-06 9:20 
AnswerRe: How do I change icon and small icon for a windows class Pin
Waldermort7-Oct-06 4:25
Waldermort7-Oct-06 4:25 
AnswerRe: How do I change icon and small icon for a windows class Pin
Mark Salsbery7-Oct-06 8:31
Mark Salsbery7-Oct-06 8:31 
QuestionSimple MAPI Error !!! Pin
Vinod Sankaranarayanan7-Oct-06 3:07
Vinod Sankaranarayanan7-Oct-06 3:07 
AnswerRe: Simple MAPI Error !!! Pin
Hamid_RT7-Oct-06 4:10
Hamid_RT7-Oct-06 4:10 
GeneralRe: Simple MAPI Error !!! Pin
Vinod Sankaranarayanan7-Oct-06 4:26
Vinod Sankaranarayanan7-Oct-06 4:26 
GeneralRe: Simple MAPI Error !!! Pin
Hamid_RT7-Oct-06 6:53
Hamid_RT7-Oct-06 6:53 
GeneralRe: Simple MAPI Error !!! Pin
Hamid_RT19-Oct-06 7:54
Hamid_RT19-Oct-06 7:54 

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.