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:
Change the build command to:
To change the command, bring up the Project Settings dialog box, click the
Custom Build tab, and edit the command in "Build command(s):".
STATUSThis behavior is by design. MORE INFORMATION
Because debugging local servers is easier than debugging services, most
people prefer the default to be /RegServer. Once you have completed testing
the EXE as a local server, you can either change the custom build step or
run the EXE with /Service. Additional query words: kbatl200 kbatl210 kbatl300 kbvc500 kbvc600
Keywords : kbATL200 kbATL210 kbLocalSvr kbRegistry kbServer kbService kbVC600 kbGrpMFCATL |
Last Reviewed: November 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |