List:MySQL++« Previous MessageNext Message »
From:Mickaël Wolff Date:September 15 2008 5:57am
Subject:Re: problem with visual studio2008 and mysql++
View as plain text  
   Sorry to have answer directly first :-/

manish a écrit :
>  using namespace std;

  I hope it is just for the example.


>  const char* db
>  ="innoviti",*server="localhost",*user="root",*pass="xxxxx";

  C++ you said ? :p

>  if (mysqlpp::StoreQueryResult res = query.store()) {

  I guess it is the source of your problem. Try to declare res outside
the condition.


>  Run Time Check Failure #2-Stack around the variable 'conn'was
>  corrupted.
>

  That's MS specific. Try to read the manual of your IDE (especially
stack guard features).

-- 
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org


Thread
problem with visual studio2008 and mysql++manish15 Sep
  • Re: problem with visual studio2008 and mysql++Mickaël Wolff15 Sep
  • Re: problem with visual studio2008 and mysql++manish15 Sep
    • Re: problem with visual studio2008 and mysql++Warren Young15 Sep