[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: FOR ALL PEOPLE WHO ARE TRYING TO USE MYSQL++ WITH VC++ AND MFC
From: The Lazy Fox <lazyfox () foxden ! dhs ! org>
Date: 2001-06-22 14:27:49
[Download RAW message or body]
all the link errors people are getting when they're trying to do this
(multiply defined symbols of ostream and strtoll, etc etc) are caused
because the mysql++.lib and your MFC project are using different
run-time libraries.
i appeared to have accidentally linked mysql++.lib with the
single-threaded run-time library, while MFC projects always need the
multithreading DLL version.
so this is what you should do: first, rebuild mysql++.lib with a
different run-time library (project settings, C/C++ tab, Code
Generation), for example the Debug Multithreaded DLL run-time library.
now you can use that versio of mysql++.lib in your MFC project without
problems.
c ya,
lazyfox
Michael Goetting wrote:
>
> Hi all,
>
> I'm working on a Project with MFC, VC++ and the mySQL++ API.
> The problem I have is that when i try to link the Programm there are
> a lot errors about the mysql API.
>
> After a small look on the mysql pluslus mailing list it seems to me,
> that there was no chance to generate a running programm
> including the mfc.
>
> Is there anyone who had made a running Programm including the
> MFC, VC++ and the mysql API. Does anyone know how to use it
> ???
>
> Thanks in advance
>
> Michael Götting
>
> the problem i'm having is that when i try
> to compile there is one error saying:
> ----------------------------------------------------
> Michael Götting
> Im Fuchsloch 3
> 32584 Löhne
> Tel.: 05732/ 981752
> Mobil: 0177/ 8998792
> E-Mail: michael.goetting@gmx.de
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic