Hello,

I created a checker SW in C# in using .NET CF. I would like to run this SW
on the background without GUI like a service. I read the articles in the msdn
and in the pocketpcdn how to create a service as a DLL with eVC++, but I
don't know how to run my managed C# code as a service.

Can somebody help me?

Thanks in advance,
Zsolt

Re: Service by Chris

Chris
Mon Jul 18 09:17:23 CDT 2005

"Service" and "UI" really have nothing to do with one another. Normal apps
can have no UI, and services can have a UI.
For this, just create a console app and put it in the \Windows\Startup
folder.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate


"Zsolt" <Zsolt@discussions.microsoft.com> wrote in message
news:FC24B446-1B2E-4E00-AAAA-8DD588D315A6@microsoft.com...
>
> Hello,
>
> I created a checker SW in C# in using .NET CF. I would like to run this SW
> on the background without GUI like a service. I read the articles in the
> msdn
> and in the pocketpcdn how to create a service as a DLL with eVC++, but I
> don't know how to run my managed C# code as a service.
>
> Can somebody help me?
>
> Thanks in advance,
> Zsolt



Re: Service by John

John
Mon Jul 18 12:38:20 CDT 2005

Also be aware that services.exe is not capable of running managed (aka C#)
code. It can only run native. At some point we may create a managed
services.exe in addition to the native one, but I don't think that's coming
anytime soon.

--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation

Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.

"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:OER3rN6iFHA.3340@TK2MSFTNGP10.phx.gbl...
> "Service" and "UI" really have nothing to do with one another. Normal
> apps can have no UI, and services can have a UI.
> For this, just create a console app and put it in the \Windows\Startup
> folder.
>
> --
> Chris Tacke
> Co-founder
> OpenNETCF.org
> Are you using the SDF? Let's do a case study.
> Email us at d c s @ o p e n n e t c f . c o m
> http://www.opennetcf.org/donate
>
>
> "Zsolt" <Zsolt@discussions.microsoft.com> wrote in message
> news:FC24B446-1B2E-4E00-AAAA-8DD588D315A6@microsoft.com...
>>
>> Hello,
>>
>> I created a checker SW in C# in using .NET CF. I would like to run this
>> SW
>> on the background without GUI like a service. I read the articles in the
>> msdn
>> and in the pocketpcdn how to create a service as a DLL with eVC++, but I
>> don't know how to run my managed C# code as a service.
>>
>> Can somebody help me?
>>
>> Thanks in advance,
>> Zsolt
>
>



Re: Service by Chris

Chris
Mon Jul 18 12:46:10 CDT 2005

You know if we had EE Hosting then we could deliver a managed code services
solution today.....

Just my $0.02 of course.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate


"John Spaith [MS]" <jspaith@ONLINE.microsoft.com> wrote in message
news:eUHR%2397iFHA.576@TK2MSFTNGP15.phx.gbl...
> Also be aware that services.exe is not capable of running managed (aka C#)
> code. It can only run native. At some point we may create a managed
> services.exe in addition to the native one, but I don't think that's
> coming anytime soon.
>
> --
> John Spaith
> Software Design Engineer, Windows CE
> Microsoft Corporation
>
> Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> You assume all risk for your use. © 2003 Microsoft Corporation. All rights
> reserved.
>
> "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
> news:OER3rN6iFHA.3340@TK2MSFTNGP10.phx.gbl...
>> "Service" and "UI" really have nothing to do with one another. Normal
>> apps can have no UI, and services can have a UI.
>> For this, just create a console app and put it in the \Windows\Startup
>> folder.
>>
>> --
>> Chris Tacke
>> Co-founder
>> OpenNETCF.org
>> Are you using the SDF? Let's do a case study.
>> Email us at d c s @ o p e n n e t c f . c o m
>> http://www.opennetcf.org/donate
>>
>>
>> "Zsolt" <Zsolt@discussions.microsoft.com> wrote in message
>> news:FC24B446-1B2E-4E00-AAAA-8DD588D315A6@microsoft.com...
>>>
>>> Hello,
>>>
>>> I created a checker SW in C# in using .NET CF. I would like to run this
>>> SW
>>> on the background without GUI like a service. I read the articles in the
>>> msdn
>>> and in the pocketpcdn how to create a service as a DLL with eVC++, but I
>>> don't know how to run my managed C# code as a service.
>>>
>>> Can somebody help me?
>>>
>>> Thanks in advance,
>>> Zsolt
>>
>>
>
>



Re: Service by Zsolt

Zsolt
Mon Jul 18 13:12:14 CDT 2005


Hello,

Thanks your comment, this method is solved my probelm.

Zsolt

"Chris Tacke, eMVP" wrote:

> "Service" and "UI" really have nothing to do with one another. Normal apps
> can have no UI, and services can have a UI.
> For this, just create a console app and put it in the \Windows\Startup
> folder.
>
> --
> Chris Tacke
> Co-founder
> OpenNETCF.org
> Are you using the SDF? Let's do a case study.
> Email us at d c s @ o p e n n e t c f . c o m
> http://www.opennetcf.org/donate
>
>
> "Zsolt" <Zsolt@discussions.microsoft.com> wrote in message
> news:FC24B446-1B2E-4E00-AAAA-8DD588D315A6@microsoft.com...
> >
> > Hello,
> >
> > I created a checker SW in C# in using .NET CF. I would like to run this SW
> > on the background without GUI like a service. I read the articles in the
> > msdn
> > and in the pocketpcdn how to create a service as a DLL with eVC++, but I
> > don't know how to run my managed C# code as a service.
> >
> > Can somebody help me?
> >
> > Thanks in advance,
> > Zsolt
>
>
>