Hi Lucius,
Based on my understanding, you'd like to implement a custom Common Language
Runtime host for your managed applications, and show an icon in the system
notification area while the custom CLR host is running. If I'm off base,
please feel free to let me know.
Generally speaking, a CLR host is responsible for loading the CLR into a
process, defining the application domains within the process, and executing
user code within those domains.
I search and find a good article addressing how to implement a custom CLR
host for managed applications and you may visit the following link for this
article:
'Microsoft .NET: Implement a Custom Common Language Runtime Host for Your
Managed App'
http://msdn.microsoft.com/msdnmag/issues/01/03/clr/default.aspx
In addition, to show an icon in the system notification area, I suggest
that you use the Win32 API Shell_NotifyIcon.
Hope this helps.
If you have any question, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.