Never found this problem on the Internet? Does it mean nobody except me run into it?
I have tested BerkeleyDB BTree 4.7.25 (from Oracle now) and when running a simple test described in their doc I got the following when opening (creating) a database:
At least one secondary cursor must be specified to DB->join error 22
After hours of searching here is what I found - the standard installation that comes the btree with is precompiled with a different Visual Studio that has a problem with VS 6.0 I was using. Even though I was able to download the dll (the release mode because the debug mode was wrong - shipped with improper MS nondebug libraries) the opening was returning this wrong message.
Only after opening the .dsw that came with the sources, and rebuilding it with VS 6.0 all went okay.
I hope it will help someone...