dbTalk Databases Forums  

Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM






Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM






Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM



Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #4  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM



Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #5  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM



Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #6  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM



Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #7  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM



Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #8  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM



Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #9  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 02:31 PM



Alex Boyer wrote:
Quote:
followed instructions in readme.vc.
README-Visual-C++.txt, surely? README.vc is from 2.x.

Not that the contents of the files are greatly different, but if you're
somehow mixing 2.x and 3.x headers and/or libraries, that would be bad.

Quote:
This application has been updated to include settings related to the
User Account Control (UAC) feature of Windows Vista.
I've just tested 3.0.1 under VC++ 2008 on XP, and simple1 runs fine. It
could be we're seeing some kind of Vista weirdness. I'm not sure I have
a Vista machine readily available that's set up to test this.

Quote:
I was curious what would happen with the VC2003
version and surprisingly it worked...
Well, the project settings between the two _are_ different... Also,
several examples are suppressed in the VC2003 files. But, simple1.exe
is no different between them.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #10  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql++ 3.0.1 / VC++ 2008: Samples crashing on mysqlpp::Connection - 03-25-2008 , 06:52 PM



Alex Boyer wrote:
Quote:
All four variables are defined above it:
const char *db = "xxx", *server = "xx.xx.xx.xx", *user = "fakeuser",
*pass = "fakepass";
Try reverting your changes to the example and just pass the connection
parameters on the command line as directed by README-examples.txt. You
can do this within the IDE if that makes you happy. Right-click the
project you want to run, go to Properties, then Debug, and put something
like this in the Command Arguments field:

-s xx.xx.xx.xx -u fakeuser -p fakepass

Then run the program. Be sure to run resetdb before any of the others,
with the same command line parameters. Again, README-examples.txt
covers this requirement.

I realize you're eager to connect to your existing database, but go
through the examples first. If they work, you have to believe MySQL++
can be made to work with other databases, too.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.