Article View: borland.public.cppbuilder.internet.socket
Article #5185Re: Unable to run service application after upgrade to indy 9
From: Lynn
Date: Tue, 28 Sep 2004 21:40
Date: Tue, 28 Sep 2004 21:40
36 lines
2166 bytes
2166 bytes
Hi, Gambit What I did is to add "#include <winsock2.h>" onthe top of each .cpp file in order to remove the compiling error of "Multiple declaration between winsock.h and winsock2.h" Now it allows me to build exe file without erro. But I can not start service application using start->run "C:\Program Files\Wallace\WTS\WTS.exe" /install" It pop up window with error of encounter a problem. Also what do you mean start service via SCM? Wha is SCM? Thanks, Lynn "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: > >"Lynn" <lai@eagency.com> wrote in message >news:4159cbdf$1@newsgroups.borland.com... > >> I could not run it as service. It says application encountered problem. > >Your description is much too vague. Please provide specific details, code >snippets, error messages, etc. > >> I have no way to debug. > >Yes, you do. You can debug a service the exact same way you debug a normal >application, except that you have to run the service executable before you >can debug it. Put a few seconds delay into your service's OnStart code, and >then when you start the service via the SCM, you can then use the debugger's >"Attach to Process" option to start debugging the service from that point >on. > > >Gambit > >
Technical Details
Message-ID:
<4159da61$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4159cbdf$1@newsgroups.borland.com> <4159d43c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f7593d459e962cb0 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Lynn" <lai@eagency.com> Sender: "Lynn" <lai@eagency.com> Reply-To: "Lynn" <lai@eagency.com> Subject: Re: Unable to run service application after upgrade to indy 9 Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 65.218.213.100 References: <4159cbdf$1@newsgroups.borland.com> <4159d43c$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4159da61$1@newsgroups.borland.com> Date: 28 Sep 2004 14:40:49 -0700 X-Trace: newsgroups.borland.com 1096407649 207.105.83.66 (28 Sep 2004 14:40:49 -0700) Lines: 37 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail