I forgot to add I built the engine dll itself with VC. The app was
however built with mingw.
Well, I have built a GUI app using Berkley DB version 4. I no longer
have that project (converted to ODBC), all I remember is I used the dll
version of the engine and the C api (not the C++ class). And I'm just a
Bottom line is, it is possible to build Berkley DB app with mingw.