Article View: borland.public.cppbuilder.nativeapi
Article #15575Re: Can not run any BCB5 services, "class not found" in event viewe
From: Emmanuel
Date: Thu, 26 Jun 2003 18:42
Date: Thu, 26 Jun 2003 18:42
38 lines
2221 bytes
2221 bytes
Dear Richard Rowell,
I am just making a Service.
I found that, the Service name should be the class name of your service
(that I never think before)
for example :
class TService1 :public TService
{
};
TService1 *AAA;
if you find the Service name as "AAA" , you cannot find it
if you find the Service name as "TService1" , you can find it
Emmanuel
emmanuel@erphk.com
PS: I hope you can help me in the future
"Richard Rowell" <rrowell@shreve.net> wrote in message
news:3ef7c99c$1@newsgroups.borland.com...
>
> New -> Service Application
> Double click the "OnExecute" handler, put in a comment (only) in the body
of it. Build, run with /install parameter. Try to start the service.
>
> I get an error that the service failed to start. If I check the event
viewer I get this:
> "The description for Event ID ( 0 ) in Source ( LogWatcher.exe ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: Class does not exist."
>
> BCB5 with SP1 on Win2k PRO
>
> Is this a known issue? Is there a work-around?
Technical Details
Message-ID:
<3efb3e9f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ef7c99c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,573c48e4ed34eb22 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-26 12:08:29 PST From: "Emmanuel" <emmanuel@erphk.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ef7c99c$1@newsgroups.borland.com> Subject: Re: Can not run any BCB5 services, "class not found" in event viewe Date: Fri, 27 Jun 2003 02:42:39 +0800 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 202.146.98.71 Message-ID: <3efb3e9f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056652959 202.146.98.71 (26 Jun 2003 11:42:39 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail