BUG: Building ATL Service Project Does Not Register the ServiceLast reviewed: June 25, 1997Article ID: Q167927 |
The information in this article applies to:
SYMPTOMSWhen you build an ATL service, using the AppWizard, the COM objects are registered, but the service does not appear in the Control Panel's list of services.
CAUSEThe Wizard creates a custom build rule for self-registration. The rule uses the /RegServer switch instead of the /Service switch.
RESOLUTIONThe Wizard adds the following custom build command:
"$(TargetPath)" /RegServerChange the build command to:
"$(TargetPath)" /ServiceTo change the command, bring up the Project Settings dialog box, click the Custom Build tab, and edit the command in "Build command(s):".
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. (c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Chuck Bell, Microsoft Corporation |
Keywords : AtlReg AtlServer vcbuglist500 kbbuglist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |