From: Warren Young Date: January 4 2008 7:10pm Subject: Re: Troubles wit DECIMAL(12,4) List-Archive: http://lists.mysql.com/plusplus/7347 Message-Id: <477E84B4.1060201@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Bart Verstraete wrote: > I don't understand your comment. About using std::string instead of cchar* std::string is an object that manages its own memory. const char* is just a pointer, pointing to memory managed by some other part of the code. Since it seems that you're having memory problems, it makes one suspicious.