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

C / C++ / MFC

 
GeneralRe: Memory leak.. Pin
Bob Stanneveld19-Oct-04 11:24
Bob Stanneveld19-Oct-04 11:24 
GeneralRe: Memory leak.. Pin
RobJones19-Oct-04 16:48
RobJones19-Oct-04 16:48 
GeneralMachines in LAN connected to my machine Pin
tgprakash19-Oct-04 4:10
tgprakash19-Oct-04 4:10 
GeneralRe: Machines in LAN connected to my machine Pin
RobJones19-Oct-04 4:54
RobJones19-Oct-04 4:54 
GeneralRe: Machines in LAN connected to my machine Pin
rromerot19-Oct-04 5:59
rromerot19-Oct-04 5:59 
GeneralRe: Machines in LAN connected to my machine Pin
David Crow19-Oct-04 8:00
David Crow19-Oct-04 8:00 
QuestionCallback ? Pin
madretierra19-Oct-04 3:44
madretierra19-Oct-04 3:44 
AnswerRe: SendMessage/PostMessage Pin
Budric B.19-Oct-04 8:19
Budric B.19-Oct-04 8:19 
I don't believe callback is possible. Here are some high level suggestions you can research.

You can try the function FindWindow(..) to get a handle on your MFC window and then SendMessage() to send a message to this window. It's a win32 function.

Otherwise you may need to use some other method (interprocess communication). I suppose you can try network communication using sockets. Maybe send/receive on 127.0.0.1. Or I believe Windows should provide some functions to send/receive messages between processes.

There are tutorials on codeproject.
http://www.codeproject.com/threads/[^]
GeneralRe: SendMessage/PostMessage Pin
madretierra19-Oct-04 22:30
madretierra19-Oct-04 22:30 
AnswerAnd don't pass pointers between processes Pin
Budric B.19-Oct-04 8:24
Budric B.19-Oct-04 8:24 
AnswerRe: Callback ? Pin
Bob Stanneveld19-Oct-04 9:26
Bob Stanneveld19-Oct-04 9:26 
GeneralRe: Callback ? Pin
madretierra19-Oct-04 22:35
madretierra19-Oct-04 22:35 
GeneralCTreeCtrl Speeding issue Pin
Vikram Kashyap19-Oct-04 3:32
Vikram Kashyap19-Oct-04 3:32 
GeneralRe: CTreeCtrl Speeding issue Pin
BlackDice19-Oct-04 5:43
BlackDice19-Oct-04 5:43 
GeneralRe: CTreeCtrl Speeding issue Pin
Vikram Kashyap19-Oct-04 18:39
Vikram Kashyap19-Oct-04 18:39 
GeneralRe: CTreeCtrl Speeding issue Pin
Joel Lucsy19-Oct-04 15:37
Joel Lucsy19-Oct-04 15:37 
Generallooking for a specific c++ object Pin
Vacnez19-Oct-04 3:27
Vacnez19-Oct-04 3:27 
GeneralCListCtrl Navigation Pin
Manoj Singh K.19-Oct-04 3:16
Manoj Singh K.19-Oct-04 3:16 
GeneralWho wrote this CString class Pin
rromerot19-Oct-04 1:53
rromerot19-Oct-04 1:53 
GeneralRe: Who wrote this CString class Pin
Antony M Kancidrowski19-Oct-04 2:17
Antony M Kancidrowski19-Oct-04 2:17 
GeneralRe: Who wrote this CString class Pin
Chris Meech19-Oct-04 2:36
Chris Meech19-Oct-04 2:36 
GeneralRe: Who wrote this CString class Pin
rromerot19-Oct-04 4:20
rromerot19-Oct-04 4:20 
GeneralRe: Who wrote this CString class Pin
RobJones19-Oct-04 4:57
RobJones19-Oct-04 4:57 
GeneralPlease explain code! Pin
Brakanjan19-Oct-04 1:07
Brakanjan19-Oct-04 1:07 
GeneralRe: Please explain code! Pin
Cedric Moonen19-Oct-04 1:42
Cedric Moonen19-Oct-04 1:42 

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.