communication between 2 diff applications

P

Pohihihi

Hello NG,

My scenario is --
-----------------------------------
Application A (AppA)
Application B (AppB)

AppA & B are accessing same DB. AppA might start first or AppB might get
started first, depending on user's will. Few bin files are shared between
them. Basically AppA & B are part of a big suite of application.

My use is --
----------------------------------
AppA starts and changes information according to the actions performed on
AppBs. Also AppB might do the same.

My problem is --
----------------------------------
How to make AppA & B communicate events (real time) and information between
each other?

What I am not looking is--
----------------------------------
A solution that deals with sockets etc. Both A & B are running on same
machine so socket solution do not feel like a great solution (but I have
thought about it). Also sharing files is not a good idea. I am totally not
looking for any COM/DCOM related solutions as well. I am not familier with
remoting but could be a solution (maybe !!).


Thanks,
Po
 
A

Aamir

Hi Po
You have rejected most of the options, but there are still other
options available which will help you to send and receive notification
between two different application...

One of such method is using APIs...
Use SendMessage Api to send message to the another window... and
Receive the send message in the wndproc of the another application...

Hope this will help you out...
 
P

Pohihihi

thanks but I will rather like to learn the process and implement it. More
over seems like networking is used in the end of your product. That was one
of the thing I list I don't want to do.
 
J

Josip Habjan

no problem.

....btw. i did not use any networking, i used only API's (CreateNamedPipe,
CreateFile, CreateFileMapping , CreateEvent, CreateMutex, CreateSemaphore
and so on....)...

Regards,
Josip Habjan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top