Re: NT Service with sockets
"almc" <antonio.carvalho@eloinformatica.pt> wrote in message
news:op.tbegzy0ry9hu51@dcspcantonioc.elodecisor.local...
Hi there!
I need to develop a NT Service that will listen to a TCP/IP socket.
I already have the code to listen and answer to the TCP/IP socket working,
but unfortunately, it will only works if the application runs as a normal
WIN32 application; if I start as a service, it will *never* receive or
accept any call from any other client machine except the one running the
service...
I think it might be some kind of "no permission" thing, but I'm not sure
what it is, or how to make it work!
I'm using a WinXP sp2 in a corporate network, and the service is built in
VC++6 and I need to use MFC.
Please, don't ask why I'm not using a web service, since I realy don't
want a web service...
Thanks for your time,
AntCnio Carvalho
This problem really depends on what your implementing. Service type
applications do not normally have a window so therefore no desktop
interface. You can set the service to allow interaction with the desktop
and that may solve your problem but it is hard to tell since I have no
knowledge of what technologies your service app is using.
--
============
Frank Hickman
Microsoft MVP
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.