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 --------------------------------------------------------------------- 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