Click here to Skip to main content
15,918,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionneed help in TrimStart() Pin
sheshidar28-Oct-05 1:58
sheshidar28-Oct-05 1:58 
AnswerRe: need help in TrimStart() Pin
willy_total28-Oct-05 2:23
willy_total28-Oct-05 2:23 
GeneralRe: need help in TrimStart() Pin
sheshidar28-Oct-05 3:22
sheshidar28-Oct-05 3:22 
GeneralRe: need help in TrimStart() Pin
willy_total31-Oct-05 2:58
willy_total31-Oct-05 2:58 
AnswerRe: need help in TrimStart() Pin
shivditya28-Oct-05 2:52
shivditya28-Oct-05 2:52 
QuestionMessage Pumps in MFC Pin
Eytukan28-Oct-05 1:02
Eytukan28-Oct-05 1:02 
AnswerRe: Message Pumps in MFC Pin
David Crow28-Oct-05 2:54
David Crow28-Oct-05 2:54 
GeneralRe: Message Pumps in MFC Pin
Eytukan28-Oct-05 4:21
Eytukan28-Oct-05 4:21 
I got this request from my boss.. :

Are you familiar with writing “message pumps”?


This is where you would “push” and “pop” off of dynamic arrays to control threading of commands to API’s.



Multiple threads can “push” messages onto the message stack using a single locking mutex and one single thread “pops” the messages off of the message stack and sends them to the API (using the same locking mutex).

--------------------------------------
what he means actually?.. yeaa we can send messages to the queue.. using sendmessage,postmessage..but should i go for win32 api ? where these messages would be processed by the wndproc ? but whatz the need for mutex here?Confused | :confused:


--[v]--
GeneralRe: Message Pumps in MFC Pin
Eytukan28-Oct-05 4:23
Eytukan28-Oct-05 4:23 
GeneralRe: Message Pumps in MFC Pin
David Crow28-Oct-05 4:48
David Crow28-Oct-05 4:48 
GeneralRe: Message Pumps in MFC Pin
Eytukan28-Oct-05 5:51
Eytukan28-Oct-05 5:51 
GeneralRe: Message Pumps in MFC Pin
David Crow28-Oct-05 6:16
David Crow28-Oct-05 6:16 
Questioncaret position from ms word Pin
sudeesh28-Oct-05 0:23
sudeesh28-Oct-05 0:23 
QuestionWritePrinter Code to Test Pin
AsimUmair28-Oct-05 0:13
AsimUmair28-Oct-05 0:13 
QuestionUsing CDO in VC6 how to send email Pin
naeemnimi27-Oct-05 23:46
naeemnimi27-Oct-05 23:46 
AnswerRe: Using CDO in VC6 how to send email Pin
ThatsAlok28-Oct-05 0:09
ThatsAlok28-Oct-05 0:09 
GeneralRe: Using CDO in VC6 how to send email Pin
kakan28-Oct-05 0:39
professionalkakan28-Oct-05 0:39 
GeneralRe: Using CDO in VC6 how to send email Pin
David Crow28-Oct-05 3:10
David Crow28-Oct-05 3:10 
GeneralRe: Using CDO in VC6 how to send email Pin
ThatsAlok28-Oct-05 4:10
ThatsAlok28-Oct-05 4:10 
Questionhow to implementate a registration script Pin
T.J.27-Oct-05 22:52
T.J.27-Oct-05 22:52 
QuestionCapture lost when both mouse buttons are pressed and one released Pin
Dan Pidcock27-Oct-05 22:10
Dan Pidcock27-Oct-05 22:10 
QuestionSending email in VC++ 6.0 Pin
naeemnimi27-Oct-05 21:55
naeemnimi27-Oct-05 21:55 
AnswerRe: Sending email in VC++ 6.0 Pin
ThatsAlok27-Oct-05 22:16
ThatsAlok27-Oct-05 22:16 
GeneralRe: Sending email in VC++ 6.0 Pin
Intertherain28-Oct-05 2:30
Intertherain28-Oct-05 2:30 
GeneralRe: Sending email in VC++ 6.0 Pin
ThatsAlok30-Oct-05 19:15
ThatsAlok30-Oct-05 19:15 

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.