The information in this article applies to:
SYMPTOMSWhen attempting to build an AppWizard-generated DLL or EXE with ODBC support, two compiler errors are generated when STDAFX.CPP is compiled :
CAUSE
The project settings for the DLL or EXE have been changed so that
_UNICODE is defined, instead of _MBCS.
However, ODBC does not support Unicode, so MFC produces a compilation error
whenever an attempt is made to build a Unicode application or DLL that
includes the MFC database classes header file (AFXDB.H).
RESOLUTION
STATUSThis behavior is by design. Additional query words: 2.00 2.10 dll unicode database
Keywords : kbwizard kbDatabase kbDLL kbMFC kbODBC kbVC |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |