The information in this article applies to:
SYMPTOMS
Creating or activating embedded or linked OLE objects-based files saved
with the MFC server sample "Scribble" fails in unexpected ways. Two common
scenarios are:
CAUSEThe .SCR file extension used by Scribble is associated with another file type, typically screen saver applications. RESOLUTION
Change the file extension used by Scribble Documents to something that is
not already associated with a file type, for example .SCB. After changing
the file extension, you will need to run Scribble once in standalone mode
so it can update the system registry.
To change the file extension to .SCB, edit the string value to
look like this:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Microsoft Visual C++, 32-bit edition, version 4.0. MORE INFORMATION
MFC Applications can update the file associations maintained in the system
registry by calling CWinApp::RegisterShellFileTypes(). However,
RegisterShellFileTypes() does not replace an existing association. Thus
when an association already exists for the .SCR file extension, nothing is
added to the registry to indicate that Scribble should be used to create or
edit these files. Additional query words: 1.50 2.50 1.51 2.51 1.52 2.52 2.00 3.00 2.10 3.10
Keywords : kbole kbMFC kbVC |
Last Reviewed: July 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |