.NET - is it possible to run an out of process COM Server in a WinForms app?

I want to run a COM Server (out of process) as part of a WinForms application - targeting .NET 2.0

The sample code I found here: http://support.microsoft.com/kb/977996 uses a message loop, which will most likely interfere with the WinForms app

Is it possible to create a COM server inside a WinForms app? My backup plan is to use a stand-alone COM server EXE (as per the example), and send info to my app through named pipes WCF calls, but I would prefer not to do that due to the overhead of installing and managing another application.

Thanks!

Answers


Need Your Help

thin starts two ruby processes per server, kills wrong one

ruby bundler daemon thin

I'm starting up three thin processes with bundle exec thin start -C /etc/thin/staging.yml

In C#, how do I unit-test client-side user interaction and javascript (jQuery) code?

c# javascript asp.net unit-testing

I am new to unit-test. My application is in ASP.NET with C#. How do I both test javascript (jQuery with AJAX) code that are run on the client-side and user interaction like clicking on a button?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.