Windows 98 and .Net Service

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

Guest

I knew it would happen. I have a large who customer wants to run our Windows
Service App on a Win98 Machine...

Is it possible to run a Windows Service developed in .Net on Win98?

If so, do I need to create a Service Control App to Start and Stop the
Service? If not, how do I start it (net start ServiceName).

Do I need to Install the Service using InstallUtil.exe?

Also how can I debug the app on the win98 machine?

Thanks for your insights. If you can direct me to a discussion, that would
be great!
 
..Net will not run on any OS older than Windows 2000.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
..NET version 2.0
Supported Operating Systems: Windows 2000 Service Pack 3; Windows 98;
Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows XP
Service Pack 2

Willy.
 
Dave Boal said:
I knew it would happen. I have a large who customer wants to run our
Windows
Service App on a Win98 Machine...

Is it possible to run a Windows Service developed in .Net on Win98?

If so, do I need to create a Service Control App to Start and Stop the
Service? If not, how do I start it (net start ServiceName).

Do I need to Install the Service using InstallUtil.exe?

Also how can I debug the app on the win98 machine?

Thanks for your insights. If you can direct me to a discussion, that
would
be great!

Win98 does not support running Windows Services at all, so the answer is NO.

Willy.
 
Darn, Willy. I should have checked. It didn't seem that it could run on
Windows 98, because the 98 system is not NT-Based, and doesn't have the kind
of security the .Net platform needs. But you are correct. I don't know how
they did it or what the restrictions are, but apparently you can run at
least some .Net apps on Windows 98. (Hanging my head in shame).

--

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
Kevin,

How they did, well... (unfortunately) by using a bunch of:

If(OSVersion == ConsumerWindows)
throw "Sorry, use a real OS"
else
// Ok, let's get to business ...

Can you imagine what they had to do to support threadpools in the CLR for
Win98 :-(
They did the same to support NT4, but fortunately this one has been removed
as from V2.0 :-)
The lack of any security infrastructure in W98, is IMO reflected in the poor
"Windows security" support in the framework, I bet that if they didn't have
to support "Consumer Windows", they would have done a better job in this
(and some other) domain(s), but of course we may not forget that .NET
development started early 1998 even before XP saw the light.

Willy.
 
Back
Top