
1 Sep
2004
1 Sep
'04
6:49 p.m.
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