Article View: borland.public.cppbuilder.nativeapi
Article #5749Re: Identify type of executable
From: Remy Lebeau (TeamB)
Date: Sat, 09 Jul 2005 10:30
Date: Sat, 09 Jul 2005 10:30
18 lines
1724 bytes
1724 bytes
"Alan Bellingham" <alanb@episys.com> wrote in message news:0v1vc15pk38s27u1lpkusakfgcggc1627g@4ax.com... > The difference is what happens when you add command line parameters. No, actually the main difference has nothing to do with command line parameters at all. Services do not use command-line parameters, other than for installing and uninstalling. When the service is actually run, there are no command-line parameters involved. What sets a service application apart from a non-service application is that the service application calls StartServiceCtrlDispatcher() and a non-service application does not. StartServiceCtrlDispatcher() is what actually connects the application to the SCM and tells the SCM which functions to call for each service that the application manages. Gambit
Technical Details
Message-ID:
<42cfa7b6$4@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42cf7e2a$1@newsgroups.borland.com> <0v1vc15pk38s27u1lpkusakfgcggc1627g@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2d48b56176231f83 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42cf7e2a$1@newsgroups.borland.com> <0v1vc15pk38s27u1lpkusakfgcggc1627g@4ax.com> Subject: Re: Identify type of executable Date: Sat, 9 Jul 2005 03:30:56 -0700 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42cfa7b6$4@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1120905142 68.69.17.41 (9 Jul 2005 03:32:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail