Article View: pl.comp.lang.c
Article #308575Re: Problem z mySQL connectorem pod Windows
From: Borneq
Date: Thu, 19 May 2016 05:02
Date: Thu, 19 May 2016 05:02
17 lines
1535 bytes
1535 bytes
W dniu 19.05.2016 o 06:46, Borneq pisze: > W dniu 19.05.2016 o 06:35, Borneq pisze: >> Zainstalowałem mySQL i C++ connector. W Visual Studio dodałem >> mysqlcppconn.lib, próbowałem też mysqlcppconn-static.lib. >> > Dodałem > If you use static linking, you need to set CPPCONN_PUBLIC_FUNC= in > Project / Properties / C++ / Preprocessor / Preprocessor Definitions > > ale są teraz błędy: > namespace "sql" has no member "SQLString" 1. wyrzuciłem CPPCONN_PUBLIC_FUNC 2. Na samym początku #include <cppconn/sqlstring.h> i działa dla 64 bitowego trybu! dla 32 bitowego są błędy linkowania, ale to nie szkodzi
Technical Details
Message-ID:
<nhjhcm$s8q$1@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<nhjfpu$qr2$1@node2.news.atman.pl> <nhjgec$rab$1@node2.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Re: Problem z mySQL connectorem pod Windows Date: Thu, 19 May 2016 07:02:14 +0200 Organization: ATMAN - ATM S.A. Lines: 17 Message-ID: <nhjhcm$s8q$1@node2.news.atman.pl> References: <nhjfpu$qr2$1@node2.news.atman.pl> <nhjgec$rab$1@node2.news.atman.pl> NNTP-Posting-Host: 91.239.205.105 Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1463634134 28954 91.239.205.105 (19 May 2016 05:02:14 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Thu, 19 May 2016 05:02:14 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 In-Reply-To: <nhjgec$rab$1@node2.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit