How to detect .NET has started ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm developing apps in WindowsXP which calls IBM's Websphere MQ Client.
This client is a .NET application. My app is using an ActiveX wrapper in
native Windows XP.

When the application calls the .NET application for the first time, the .NET
environment has not started. So to start up .NEt it takes some time before
the actual functionality gets running.

I want to display some user information about the progress of the performed
actions. So i would like to detect in my application if the .NET environment
is up and running. When it is not running i want to display that info to the
user, when it is running, no message is needed.

How do I check if .NET is running ?
 
..Net is never "running." It is simply a set of DLLs and registration
entries. The delay occurs because the DLLs are being loaded for the first
time, rather than from cache.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
Kevin Spencer said:
..Net is never "running." It is simply a set of DLLs and registration
entries. The delay occurs because the DLLs are being loaded for the first
time, rather than from cache.

Thanks for your response.

So, from the native side (XP), there is no way to determine the .NET
environment is loaded (by checking if dll's, processes are loaded/active) ?

There should be some process running in native XP which represents .NET in
any way. But 'm not familiar with how .NET 'runs' on XP ;)
 
There should be some process running in native XP which represents .NET in
any way. But 'm not familiar with how .NET 'runs' on XP ;)

No, there isn't a particular process which represents .NET. When an
application written in .NET is running, the process for that
application contains the CLR, but there's no "extra" process
representing .NET itself.

Jon
 
Back
Top