The information in this article applies to:
SUMMARYCreation of an OLE Object may fail if the registry file (.reg) generated by AppWizard is used to register the server for the object. This article explains how to avoid this failure. MORE INFORMATION
Registration of an MFC OLE Automation server typically occurs when running
the server stand-alone for the first time. An alternate way of registering
the server is to run the registration editor and merge the .reg file
generated by AppWizard for the server's project. This method is necessary
if the server is installed but not run before a client tries to create it. Sample CodeThe following is an example of the \LocalServer key for the AutoClik, Step 1 sample as generated by AppWizard:
After being setup correctly, the \LocalServer key in the .reg file
may appear as follows:
Additional query words: kbinf 2.00 2.10 2.20 3.00 3.10 3.20
Keywords : |
Last Reviewed: August 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |