thomas WOLFF writes:
> Y have make a function like
>
> Result CSql_tools::SendaQuery(CString request)
> {
> Result res;
>
> Query query = GetQuery();
> // This creates a query object that is bound to con.
>
> query<<request;
>
> res=query.store();
> // Query::store() executes the query and returns the results
>
> return res;
> }
>
> when y run the programm he made a access violation, when he return the
> result why ????
> Please help !
> thanks.
>
>
> Thomas Wolff
> -------------------------------------------------------------
> Akosystem
> Am Tiefen Weg 17b
> 76547 Sinzheim
>
> Email: mailto:[EMAIL PROTECTED]
> Telefon: +49 (0) 7221 / 98 78 40
> Fax: +49 (0) 72 21/98 78 42
> Handy France : +33 (0)6 84 20 50 86
Hi!
Are you using MySQL++ ??
If so which compiler did you build it with.
Next, you must check the errors. Best way to do it is with C++
exceptions.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php