10 messages in com.mysql.lists.plusplusRe: Can't include mysql++ on my dll !| From | Sent On | Attachments |
|---|---|---|
| Laurent H | 13 Sep 2002 05:57 | |
| Matthew Leach | 13 Sep 2002 06:06 | |
| Joerg Geistmann | 13 Sep 2002 06:08 | |
| php_...@hotmail.com | 13 Sep 2002 06:11 | |
| Matthew Leach | 13 Sep 2002 06:30 | |
| php_...@hotmail.com | 13 Sep 2002 06:35 | |
| Mikhail Entaltsev | 13 Sep 2002 06:40 | |
| php_...@hotmail.com | 13 Sep 2002 06:42 | |
| php_...@hotmail.com | 13 Sep 2002 06:48 | |
| Mikhail Entaltsev | 13 Sep 2002 06:53 |
| Subject: | Re: Can't include mysql++ on my dll !![]() |
|---|---|
| From: | Mikhail Entaltsev (mike...@smtp.ru) |
| Date: | 09/13/2002 06:53:02 AM |
| List: | com.mysql.lists.plusplus |
#include <mysql++>
The reason is that VC couldn't find mysql++ header-file. Where do you have it and what did you write in the Project Settings -> C/C++ tab -> category Preprocessor -> "Additional include directories" edit box???
Best regards, Mikhail.
----- Original Message ----- From: <php_...@hotmail.com> To: "MySQL++ list" <plus...@lists.mysql.com> Sent: Friday, September 13, 2002 3:43 PM Subject: Re: Can't include mysql++ on my dll !
Error Mssg
Compiling... my_dll.cpp d:\myqg\sources\mysql dll\testsample\my_dll.cpp(9) : fatal error C1083: Cannot open include file: 'mysql++': No such file or directory Error executing cl.exe.
TestSample.dll - 1 error(s), 0 warning(s)
for the line #include <mysql++>
----- Original Message ----- From: "Mikhail Entaltsev" <mike...@smtp.ru> To: <php_...@hotmail.com>; "MySQL++ list" <plus...@lists.mysql.com> Sent: Friday, September 13, 2002 3:40 PM Subject: Re: Can't include mysql++ on my dll !
Please, give us detailed information. I mean part of the code, error messages and etc.
Mikhail.
----- Original Message ----- From: <php_...@hotmail.com> To: "MySQL++ list" <plus...@lists.mysql.com> Sent: Friday, September 13, 2002 3:36 PM Subject: Re: Can't include mysql++ on my dll !
I comipled my dll dans follox this instructions in Readme mysql++
HOW TO ADD MYSQL++ TO AN EXISTING VISUAL C++ PROJECT
---------------------------------------------------- 1) Add mysql++.lib to the project 2) Go to Project Settings, C/C++ tab, category Preprocessor, and add the directories include and mysql/include to the "Additional include directories" edit box 3) In the source files, in which you want to use MySQL++, add the line #include <mysql++> after all other included header files (especially those of MFC)
But it doesn't work !




