HighTechTalks DotNet Forums  

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

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss what is the message loop I should use for .net com server componen in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Benny
 
Posts: n/a

Default what is the message loop I should use for .net com server componen - 04-30-2007 , 02:50 PM






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?

Thanks.

Reply With Quote
  #2  
Old   
Walter Wang [MSFT]
 
Posts: n/a

Default RE: what is the message loop I should use for .net com server componen - 05-01-2007 , 01:49 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 (AT) online (DOT) 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.


Reply With Quote
  #3  
Old   
Benny
 
Posts: n/a

Default RE: what is the message loop I should use for .net com server comp - 05-01-2007 , 12:27 PM



Thank you Walter. You have been extremely helpful in my COM/.Net questions.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.