Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I need to connect 2 solutions(applications)in the same computer,how can i do it?
Can we do it using a dll of that solution?
Any other suggestions?

please help me!!

Thanks in Advance.
Posted
Updated 20-Jul-11 5:13am
v2
Comments
Mario Majčica 20-Jul-11 10:36am    
Please be more specific, which type of apps are and what precisely is the goal.
Legor 20-Jul-11 11:07am    
Also on which plattform the applications are running? Several ways to let two applications communicate with each other are possible.
brsvnv 11-Dec-14 0:48am    
how to connect an ocr and text to spech tools in .net

Surprisingly or not, the ways of doing communications between application of the same computer are nearly the same as between application on different computers. Different processes are isolated and need inter-process communication. First, I would suggest either classical remoting or self-hosted WCF using IPC channel, which is based in Windows named pipes.

See:
http://msdn.microsoft.com/en-us/library/kwdt6w2k%28v=VS.100%29.aspx[^],
http://msdn.microsoft.com/en-us/library/dd456779.aspx[^].

You can also use networking on different levels which I overview in my past answers:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

Using the same method for communication between processes on the same of different computer is a good thing. Today they are on the same machine, but how do you know what will you do tomorrow? The best for you would be just changing configuration without changing your main code.

—SA
 
Share this answer
 
hey! your question is not very clear but you can take a look at given link
which might help you. if you are looking for communication
Communication between two different applications[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900