Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by Jim Donachiue
Mon, 24 Mar 2003 19:49
Communication between applications using "RegisterWindowMessage" and "SendMessage"
Author: Jim Donachiue
Date: Mon, 24 Mar 2003 19:49
Date: Mon, 24 Mar 2003 19:49
7 lines
1188 bytes
1188 bytes
Communication between applications using "RegisterWindowMessage" and "SendMessage" I am using C++ Builder version 4 and I am trying to cummunicate with a VB app. PLease help.
Re: Communication between applications using "RegisterWindowMessage" and "SendMessage"
Author: Remy Lebeau (TeamB)
Date: Mon, 24 Mar 2003 20:07
Date: Mon, 24 Mar 2003 20:07
21 lines
1772 bytes
1772 bytes
"Jim Donachiue" <jdonachiue@bjservices.ca> wrote in message news:3e7f6162$1@newsgroups.borland.com... > I am using C++ Builder version 4 and I am trying to > cummunicate with a VB app. Communication is what way exactly? Will you be sending the message to the VB app, or the other way around? Please be more specific. If the former, than do you have the HWND for the VB app? You'll need to obtain that because you can use SendMessage(). If you do have it, then just call RegisterWindowMessage() and pass the return value as the uMsg parameter of SendMessage(). If the latter, then you need to call RegisterWindowMessage() at program startup, store the return value to a variable, then have your form override the inherited WndProc() method to test messages for that value. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads