Groups | Blog | Home
all groups > dotnet interop > april 2007 >

dotnet interop : what is the message loop I should use for .net com server componen


Benny
4/30/2007 11:50:02 AM
Due to the 3rd party library limitations, I have the following constraints:
- max of one instance of a a class instance per exe instance
(RegisterTypeForComClients(..., SingleUse).
- the module must run under a pre-configured nt account.
- solution must be in .net

The solution i have is a COM server EXE and implemented in .net. With
unmanaged code, I can write a message loop to keep the process running and it
will auto shutdown when all com objects are released.

Question: in .net, is there something else I can call in the 'Main' method
or it is safe to code the message loop there also?

wawang NO[at]SPAM online.microsoft.com
5/1/2007 12:00:00 AM
Hi,

This is a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.


Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Benny
5/1/2007 9:27:01 AM
AddThis Social Bookmark Button