Hello,

Eric Torstenson wrote:

> I'm using soci to connect to an sqlite3 database, and when I use 
> get<double>(n), I get a bad cast exception.

Is it possible that you have some specific locale activated when you run 
your C++ program and that expect comma instead of a dot for floating 
point formatting?

It is a known problem that SOCI is vulnerable to the locale interaction 
and there is a chance that you have hit this in your program.

Regards,

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to