List:MySQL++« Previous MessageNext Message »
From:Pitu Caleya Date:December 7 2004 3:36pm
Subject:Re: Problem with Visual Studio .Net 2003
View as plain text  
I've tried using 1.7.23 and 1.7.17 but i couldn't solve it.

To simplify, when running this code it works:

Query query;
query << "INSERT INTO...";

But, when calling the base class operator <<, it fails:

Query query;
((SQLQuery) query) << "INSERT INTO...";

It considers "INSERT INTO..." as a void *, and so, it calls the "_Myt& 
ostream::operator<<(const void *_Val);". That's the reason because 
SQLQuery::insert, SQLQuery::update, etc functions don't work, but i couldn't 
find the solution. Maybe the management of templates in visual c++?


Thread
Problem with Visual Studio .Net 2003Pitu Caleya2 Dec
  • Re: Problem with Visual Studio .Net 2003Warren Young2 Dec
    • Re: Problem with Visual Studio .Net 2003Warren Young6 Dec
Re: Problem with Visual Studio .Net 2003Pitu Caleya7 Dec
  • Re: Problem with Visual Studio .Net 2003Warren Young7 Dec
    • Re: Problem with Visual Studio .Net 2003Pitu Caleya8 Dec
Re: Problem with Visual Studio .Net 2003Warren Young9 Dec
Re: Problem with Visual Studio .Net 2003Pitu Caleya9 Dec
  • Re: Problem with Visual Studio .Net 2003Warren Young10 Dec
    • Re: Problem with Visual Studio .Net 2003Pitu Caleya10 Dec