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

C / C++ / MFC

 
AnswerRe: Tab control Pin
prathuraj28-Mar-07 18:31
prathuraj28-Mar-07 18:31 
GeneralRe: Tab control Pin
David Crow29-Mar-07 2:32
David Crow29-Mar-07 2:32 
Questioncapture mouse move Pin
deeps_cute28-Mar-07 3:24
deeps_cute28-Mar-07 3:24 
AnswerRe: capture mouse move [modified] Pin
prasad_som28-Mar-07 3:46
prasad_som28-Mar-07 3:46 
AnswerRe: capture mouse move Pin
James R. Twine28-Mar-07 4:01
James R. Twine28-Mar-07 4:01 
QuestionCan a console application use Message IPC for broadcasting to other process(Not windows) Pin
param_nirvana28-Mar-07 0:35
param_nirvana28-Mar-07 0:35 
GeneralRe: Can a console application use Message IPC for broadcasting to other process(Not windows) Pin
param_nirvana28-Mar-07 0:59
param_nirvana28-Mar-07 0:59 
AnswerRe: Can a console application use Message IPC for broadcasting to other process(Not windows) Pin
James R. Twine28-Mar-07 2:33
James R. Twine28-Mar-07 2:33 
param_nirvana wrote:
I'm trying to use Message IPCs (PostMessage and GetMessage) to broadcast a message from one process to other processes. These are plain console process without Windows.


   Well, generally in order to send a message, you need to send it somewhere.  This is usually some kind of window.  In order to receive a message, you need a message pump that is associated with... you guessed it!  A window!

   Your console application(s) (if you have the source code for them), can create an invisible window with a specific class and/or name so you can locate them and send them messages.

   You may want to look into other IPC mechanisms such as named pipes or a shared memory area (memory mapped file backed by the paging file).  No, I cannot provide source code for this, or take the place of a simple CodeProject, Google or MSDN search for the terms: Named Pipe, but you have a place to start.

   Oh, and be patient when waiting for a response - the people that help out here do not get paid to help you out, we do so at our pleasure, not yours.  If you want to demand things, feel free to pay for the right to do so.  (And my short-term rates start at $80/hour with a 4-hour minimum, and that includes the CP-Newbie discount. Smile | :) )

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Can a console application use Message IPC for broadcasting to other process(Not windows) Pin
Nibu babu thomas28-Mar-07 2:41
Nibu babu thomas28-Mar-07 2:41 
GeneralRe: Can a console application use Message IPC for broadcasting to other process(Not windows) Pin
James R. Twine28-Mar-07 3:02
James R. Twine28-Mar-07 3:02 
GeneralRe: Can a console application use Message IPC for broadcasting to other process(Not windows) Pin
param_nirvana28-Mar-07 3:25
param_nirvana28-Mar-07 3:25 
GeneralRe: Can a console application use Message IPC for broadcasting to other process(Not windows) Pin
param_nirvana28-Mar-07 3:27
param_nirvana28-Mar-07 3:27 
Questionhow to load bit map Pin
birajendu28-Mar-07 0:16
birajendu28-Mar-07 0:16 
AnswerRe: how to load bit map [modified] Pin
_AnsHUMAN_ 28-Mar-07 2:10
_AnsHUMAN_ 28-Mar-07 2:10 
QuestionHow to display CRW files as thumbnails on List View Pin
vasu_sri27-Mar-07 23:07
vasu_sri27-Mar-07 23:07 
AnswerRe: How to display CRW files as thumbnails on List View Pin
James R. Twine28-Mar-07 2:34
James R. Twine28-Mar-07 2:34 
Question"adding tones" Pin
harsh_296127-Mar-07 23:06
harsh_296127-Mar-07 23:06 
AnswerRe: "adding tones" Pin
James R. Twine28-Mar-07 2:37
James R. Twine28-Mar-07 2:37 
GeneralRe: "adding tones" Pin
harsh_296128-Mar-07 19:52
harsh_296128-Mar-07 19:52 
AnswerRe: "adding tones" Pin
prasad_som28-Mar-07 20:30
prasad_som28-Mar-07 20:30 
GeneralRe: "adding tones" Pin
harsh_296128-Mar-07 21:13
harsh_296128-Mar-07 21:13 
AnswerRe: &quot;adding tones&quot; Pin
prasad_som28-Mar-07 21:31
prasad_som28-Mar-07 21:31 
GeneralRe: &quot;adding tones&quot; Pin
harsh_296128-Mar-07 21:39
harsh_296128-Mar-07 21:39 
AnswerRe: &amp;quot;adding tones&amp;quot; Pin
prasad_som28-Mar-07 21:58
prasad_som28-Mar-07 21:58 
AnswerRe: "adding tones" Pin
bryce28-Mar-07 18:13
bryce28-Mar-07 18:13 

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.