Thanks for the help.
I found if I does not include the following in resetDB example files in
VC++ console application, it will runs great, but if I include in the
project, it will has the same link errors with MFC project:
___________________________
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4
Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows
Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
______________________________________=20
Does any one has successfully build MySQL under MFC?
Thanks!
-----Original Message-----
From: Warren Young [mailto:mysqlpp (AT) etr-usa (DOT) com]=20
Sent: Monday, February 13, 2006 9:58 PM
To: MySQL++ Mailing List
Subject: Re: Will MySQL++ will build under MFC?
Li, Eileen wrote:
Quote:
nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol=20
___argv |
This is almost certainly due to a mismatch in build and/or linker
settings. VC++ requires that all libraries linked into a project have
the same build and linker settings. This is explained in README.vc.
--=20
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsu...ouri (DOT) edu
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw