The information in this article applies to:
SYMPTOMSWhen rebuilding Mfc42.dll, Mfcd42d.dll, or Mfcd42ud.dll after installing Visual Studio 97 Service Pack 1 or Service Pack 2, the "LNK2001: unresolved external symbol" error message occurs for the following functions: AfxThunkSQLDescribeColA CAUSEThe symbols generated for these functions when compiling the file Dbcore.cpp do not match the function definitions specified for export in Mfc42.def, Mfcd42d.def, or Mfcd42ud.def. RESOLUTIONModify the function definitions in Mfc42.def, mfcd42d.def, or mfcd42ud.def to match the symbols for the function generated when compiling Dbcore.cpp. STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Studio
97 Service Pack 3.
Q170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why MORE INFORMATION
The difference between the function definitions in Dbcore.cpp and
Mfc42.def, Mfcd42d.def, or Mfcd42ud.def is that the function definitions
have an "A" appended to the function names in Mfc42.def, Mfcd42d.def, or
Mfcd42ud.def.
to the following:
REFERENCES
See the section "Building the MFC DLL" in TN033 for information on how to
rebuild the MFC DLL.
© Microsoft Corporation 1997, All Rights Reserved. Additional query words: AfxThunkSQL
Keywords : kbMFC kbVC500bug kbVS97sp3fix |
Last Reviewed: July 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |