sorry for posting another thread. i didnt find any option to reply the original thread
Warren Young really thanx for the reply.
but i am not lucky ..
even though i remove "query.parse();" its still crashing
can u give me any suggestion? please..
--- On Sun, 11/2/08, koochan sarat <sarat12in@stripped> wrote:
> From: koochan sarat <sarat12in@stripped>
> Subject: help neede: crash at mysqlpp::StoreQueryResult res = query.store();
> To: plusplus@stripped
> Date: Sunday, November 2, 2008, 10:54 AM
> Hi i am facing a serious problem
>
> mysqlpp::StoreQueryResult res = query.store(); line is
> crashing
> it didnt even thrw exception
> it just crashes
>
> the same thing works fine in sample program
> i searched and changed some of the visual studio settings
> but no luck
> i was soo happy when i see this MySQL++ , but now i am not
> able to work with it coz its crashing at
> mysqlpp::StoreQueryResult res = query.store(); and i am
> not able to fix r find the reason.
>
> login go thrw fine
> but query not it crashes
>
> code is here :
> try
> {
> mysqlpp::Query query = mySQL.query("select * from
> tblcontact");
> query.parse();
> mysqlpp::StoreQueryResult res = query.store();
> }
>
>
> whats wrong in it i dont understand , the same is working
> in sample app i got with MySQl++
>
> please help me in this
>
>
> versions i am using :
>
> mysql++ is 3.0.6.
>
> MySQL is 5.0.
>
> Visual studio 2005(MFC app).
>
>
> please help me in this
> thaks in advance