Click here to Skip to main content
15,914,323 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need some help immediately Pin
anuhoho24-Feb-10 23:07
anuhoho24-Feb-10 23:07 
GeneralRe: Need some help immediately Pin
Richard MacCutchan24-Feb-10 23:19
mveRichard MacCutchan24-Feb-10 23:19 
QuestionWM_COPYDATA with PostThreadMessage or PostMessage Pin
ForNow24-Feb-10 17:21
ForNow24-Feb-10 17:21 
AnswerRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
Rajesh R Subramanian24-Feb-10 18:07
professionalRajesh R Subramanian24-Feb-10 18:07 
GeneralRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
ForNow24-Feb-10 23:14
ForNow24-Feb-10 23:14 
AnswerRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
Eugen Podsypalnikov24-Feb-10 19:49
Eugen Podsypalnikov24-Feb-10 19:49 
GeneralRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
ForNow24-Feb-10 23:21
ForNow24-Feb-10 23:21 
AnswerRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
KarstenK24-Feb-10 21:48
mveKarstenK24-Feb-10 21:48 
PostMessage is for (MFC) Windows-GUIs
PostThreadMessage is for threads with a message queue

The shared data idea is really fine. It dimishes uneeded allocating and copying of memory.

allocate shared data and post user message when new data has arrived. Use an array and a flag which data has been read.
Press F1 for help or google it.
Greetings from Germany

GeneralRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
ForNow24-Feb-10 23:19
ForNow24-Feb-10 23:19 
GeneralRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
KarstenK24-Feb-10 23:46
mveKarstenK24-Feb-10 23:46 
AnswerRe: WM_COPYDATA with PostThreadMessage or PostMessage Pin
Vitaly Tomilov28-Nov-10 0:06
Vitaly Tomilov28-Nov-10 0:06 
QuestionDraw PNG on top of a CButton without flicker effect Pin
Lordraco24-Feb-10 10:55
Lordraco24-Feb-10 10:55 
AnswerRe: Draw PNG on top of a CButton without flicker effect Pin
Eugen Podsypalnikov24-Feb-10 19:38
Eugen Podsypalnikov24-Feb-10 19:38 
AnswerRe: Draw PNG on top of a CButton without flicker effect Pin
Saurabh.Garg24-Feb-10 20:36
Saurabh.Garg24-Feb-10 20:36 
AnswerRe: Draw PNG on top of a CButton without flicker effect Pin
Lordraco25-Feb-10 7:32
Lordraco25-Feb-10 7:32 
QuestionHow can find out Serial Com Port of Machine? Pin
Le@rner24-Feb-10 1:58
Le@rner24-Feb-10 1:58 
AnswerRe: How can find out Serial Com Port of Machine? Pin
Cedric Moonen24-Feb-10 2:01
Cedric Moonen24-Feb-10 2:01 
AnswerRe: How can find out Serial Com Port of Machine? Pin
David Crow24-Feb-10 3:17
David Crow24-Feb-10 3:17 
GeneralRe: How can find out Serial Com Port of Machine? Pin
Le@rner24-Feb-10 17:20
Le@rner24-Feb-10 17:20 
QuestionRe: How can find out Serial Com Port of Machine? Pin
David Crow25-Feb-10 2:59
David Crow25-Feb-10 2:59 
AnswerRe: How can find out Serial Com Port of Machine? Pin
Richard MacCutchan24-Feb-10 3:23
mveRichard MacCutchan24-Feb-10 3:23 
AnswerRe: How can find out Serial Com Port of Machine? Pin
CPallini24-Feb-10 7:43
mveCPallini24-Feb-10 7:43 
QuestionDigital Signature: Signer Name Pin
K. Sushilkumar24-Feb-10 1:08
K. Sushilkumar24-Feb-10 1:08 
AnswerRe: Digital Signature: Signer Name Pin
KingsGambit24-Feb-10 1:44
KingsGambit24-Feb-10 1:44 
GeneralRe: Digital Signature: Signer Name Pin
K. Sushilkumar24-Feb-10 18:31
K. Sushilkumar24-Feb-10 18:31 

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.