Dear All,
I want to manage dabases in Environments of BDB.
My code is like this:
//-------------------------------------------------------------
DbEnv xmlEnv(0);
Db * ftdb;
xmlEnv.open(".//", DB_CREATE, 0);
ftdb = new Db(&xmlEnv, 0);
ftdb->open(NULL, "freqtable.db", NULL, DB_BTREE, DB_CREATE, 0);
//-------------------------------------------------------------
The compile is OK but there's an error when I run it.
The error is
Db:

pen: Invalid arguments
Who can tell me what's wrong?
Thanks very much!
Joe