Boost logo

Boost :

From: Dan (dan_at_[hidden])
Date: 2004-09-01 13:49:54


I thought the problem was that I had a constructor with optional
arguments. I got rid of that and it seemed to work.

MySQL( const char * host = NULL )

I spoke too soon though. The real problem was something that I've had
before and drives me crazy every time I encounter it. Ironically if I
tried the above, it would probably work now.

I simply forgot to call mysql_init(). I really do hate these C APIs.
That took me a frustrating 6 hours to track down.

Boost::Python did not have any problems, and has been a very pleasant
experience to work with. Most often things work they way I would expect
them to.

Sorry again for the confusion.

-Dan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk