Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / January 2005

Tip: Looking for answers? Try searching our database.

How do I accomplish inter-process/applicaiton communication?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew S. Giles - 30 Dec 2004 19:55 GMT
It has arisen that I need to be able to talk from my application (C#) to
another application (unmanaged C++) that runs in a different thread, and vice
versa.  I have tried the COM interop, but I keep getting new copies of the
class instantiated, instead of talking to the one alreay running.  I cannot
seem to get a localserver32 established for my C# assembly.

How should I proceed to get my already running applications to speak to each
other?

COM+, .NET Remoting, something else?

Can someone point me in the right direction?
Howard Swope - 07 Jan 2005 21:39 GMT
If you implement your COM object as a singleton then if you call
CoCreateInstance you will be returned a pointer to the single instance of
your object.

> It has arisen that I need to be able to talk from my application (C#) to
> another application (unmanaged C++) that runs in a different thread, and vice
[quoted text clipped - 8 lines]
>
> Can someone point me in the right direction?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.