🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #308571

Problem z mySQL connectorem pod Windows

#308571
From: Borneq
Date: Thu, 19 May 2016 04:35
12 lines
1327 bytes
Zainstalowałem mySQL i C++ connector. W Visual Studio dodałem 
mysqlcppconn.lib, próbowałem też mysqlcppconn-static.lib.

Są błędy:
Error	LNK2001	unresolved external symbol __imp_get_driver_instance	

Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: 
int __cdecl sql::SQLException::getErrorCode(void)const " 
(__imp_?getErrorCode@SQLException@sql@@QEBAHXZ)	

Być może polegają na niewłaściwych dllimport, __cdecl, braku podkreśleń 
w nazwach lub zbyt wielu podkreśleń?
Technical Details
Message-ID: <nhjfpu$qr2$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-mail

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: Problem z mySQL connectorem pod Windows
Date: Thu, 19 May 2016 06:35:10 +0200
Organization: ATMAN - ATM S.A.
Lines: 12
Message-ID: <nhjfpu$qr2$1@node2.news.atman.pl>
NNTP-Posting-Host: 91.239.205.105
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1463632510 27490 91.239.205.105 (19 May 2016 04:35:10 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Thu, 19 May 2016 04:35:10 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
X-Mozilla-News-Host: news://news.atman.pl:119
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit