all groups > vj# > april 2004 >
You're in the

vj#

group:

Compile Service and Standalone EXE


Compile Service and Standalone EXE daroo NO[at]SPAM sympatico.ca
4/30/2004 1:50:13 PM
vj#:
Hi all

I have converted a J++ project to .NET and added code to have it run
as a service. This is fine for Win2K and up but I want to allow
people to run it on Win98. Is there any way to code my app that will
allow it to run as either a service or a standalone exe or do I have
to maintain 2 versions?

Thanks,

Re: Compile Service and Standalone EXE Bruno Jouhier [MVP]
5/1/2004 3:44:53 PM
You cannot deploy your service on Win98. So, you will need a standalone EXE
for Win98.

To maintain the two versions easily, you can package all the common logic
(should be 99% of the code) in a DLL and implement the service and the
application as thin assemblies around your DLL. So, you will have at least 3
assemblies overall.

Bruno.

"Vomish" <daroo@sympatico.ca> a écrit dans le message de
news:15f0d7fe.0404301250.6c0b8569@posting.google.com...
[quoted text, click to view]

AddThis Social Bookmark Button