Error bad_any_cast


I get the following error so the conversion doesn't work.

error: boost::bad_any_cast: failed conversion using boost::any_cast

Can you let me know how to fix this? Thanks.


gbjbaanb wrote Nov 28, 2014 at 4:51 PM

the easiest way is to wrap that line with a try/catch handler and ignore the error. Obviously its because the data in the column cannot be converted - you could see what data is there and it might be more obvious that your download (column choices maybe) is wrong.

Or check out a Money quote fetcher from some guy who used to work on the product: https://gaiersoftware.com/Money