Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in getting a field value of a dialog Pin
Paul M Watt19-Aug-02 20:01
mentorPaul M Watt19-Aug-02 20:01 
GeneralRe: Problem in getting a field value of a dialog Pin
jhwurmbach19-Aug-02 21:36
jhwurmbach19-Aug-02 21:36 
QuestionHow to create CListCtrl ?? Pin
tulc_kris19-Aug-02 19:11
tulc_kris19-Aug-02 19:11 
AnswerRe: How to create CListCtrl ?? Pin
Shog919-Aug-02 19:24
sitebuilderShog919-Aug-02 19:24 
GeneralRe: How to create CListCtrl ?? Pin
tulc_kris19-Aug-02 20:14
tulc_kris19-Aug-02 20:14 
GeneralRe: How to create CListCtrl ?? Pin
Shog920-Aug-02 2:31
sitebuilderShog920-Aug-02 2:31 
GeneralDDE Pin
udayGovekar19-Aug-02 18:46
udayGovekar19-Aug-02 18:46 
GeneralRe: DDE Pin
Paul M Watt19-Aug-02 19:07
mentorPaul M Watt19-Aug-02 19:07 
DDE is somewhat of an outdated technology, there are better ways to do interprocess communication in Win32. You could do a number of things to signal your app X2 that the file has been written by X1 including the following:

1. X1 can find a windows handle to your X2 app and send that window a message when it completes its task.

2. Both apps would register a custom message with the function "RegisterWindowMessage". Both apps would pass in a special string that hopefully only your app will register, and when X1 completes its task, it can broadcast the message that is returned from the api and X2 should handle that message.

3. Create a named event in both applications, and X2 will user WaitForSingleObject or some other wait function and wait for the event that you create.

I think I would choose solution 3. There are other possibilities as far as application synchronization, these are just a few that I thought of off the top of my head.

Good Luck


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralClose a view, Urgent!!! Pin
JamesYang19-Aug-02 17:23
JamesYang19-Aug-02 17:23 
GeneralRe: Close a view, Urgent!!! Pin
Michael Dunn19-Aug-02 17:54
sitebuilderMichael Dunn19-Aug-02 17:54 
QuestionHow to put a pic as output? Pin
Masta G19-Aug-02 16:35
Masta G19-Aug-02 16:35 
AnswerRe: How to put a pic as output? Pin
Christian Graus19-Aug-02 16:56
protectorChristian Graus19-Aug-02 16:56 
GeneralRe: How to put a pic as output? Pin
Anonymous26-Aug-02 13:53
Anonymous26-Aug-02 13:53 
GeneralRe: How to put a pic as output? Pin
Masta G26-Aug-02 14:03
Masta G26-Aug-02 14:03 
GeneralRe: How to put a pic as output? Pin
Christian Graus26-Aug-02 17:10
protectorChristian Graus26-Aug-02 17:10 
GeneralSendInput() compiler still report "undeclared identifier" Pin
mmlxl19-Aug-02 15:04
mmlxl19-Aug-02 15:04 
GeneralRe: SendInput() compiler still report "undeclared identifier" Pin
Paul M Watt19-Aug-02 18:21
mentorPaul M Watt19-Aug-02 18:21 
GeneralMultiple calls to WaitForSingleObject within the same thread Pin
Le centriste19-Aug-02 15:02
Le centriste19-Aug-02 15:02 
GeneralRe: Multiple calls to WaitForSingleObject within the same thread Pin
Michael Dunn19-Aug-02 17:05
sitebuilderMichael Dunn19-Aug-02 17:05 
Generaltemplate question Pin
Ancient Dragon19-Aug-02 14:53
Ancient Dragon19-Aug-02 14:53 
GeneralRe: template question Pin
Chris Losinger19-Aug-02 16:53
professionalChris Losinger19-Aug-02 16:53 
GeneralCommand Message Handlers Pin
Stew19-Aug-02 14:34
Stew19-Aug-02 14:34 
GeneralRe: Command Message Handlers Pin
567890123419-Aug-02 20:46
567890123419-Aug-02 20:46 
Generalhtml documentation template Pin
Wes Jones19-Aug-02 12:54
Wes Jones19-Aug-02 12:54 
QuestionWhen to use "inline"? Pin
User 665819-Aug-02 12:16
User 665819-Aug-02 12:16 

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.