troubleshooting Question

How can i Send Message between 2 Application?

Avatar of reza666
reza666 asked on
Microsoft Development
4 Comments1 Solution533 ViewsLast Modified:
Hi everyone,
This is the first time i'm using this forum so i'm not sure how this is done, anyway my qustion is as the topic says.

I'm trying to send a simple message like "hello" from let's say Application1 to Application2 in "Borland C++ Builder 6"

1) how do i send a message
2) how do i receive the message

I been reading and searching and so far the only thing i been able to do is to find the handle for a application by using:

HANDLE hwnd = FindWindow(0,"Application1");

I think the function "SendAppMessage" could be used for sending a message but there is not much help or example for this :(

I realy appreciate it if anyone could help me with this problem.

Thanks
/reza666
ASKER CERTIFIED SOLUTION
PlanetCpp

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros