CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 6 of 6

Thread: BerkeleyDB and Visual C++ .NET 2005 problem

Threaded View

  1. #1
    Join Date
    May 2006

    BerkeleyDB and Visual C++ .NET 2005 problem

    I've just downloaded and installed the most new version of Oracle BerkeleyDB (msi packet). No I'm trying to include <db_cxx.h> header file in my project (after set correct folders for includes and libs in VC++ options). I'm still getting error:

    1>c:\program files (x86)\oracle\berkeley db 4.6.19\include\db.h(1402) : error C2143: syntax error : missing '}' before '('
    1>c:\program files (x86)\oracle\berkeley db 4.6.19\include\db.h(1402) : fatal error C1903: unable to recover from previous error(s); stopping compilation

    I think it's becouse of DBTYPE enum type - the same name as the one from oledb.h. But I don't see (after "find in project" ) that i'm including oledb.h to my project.

    Maybe some of you are using BerkeleyDB with VisualC++ - I'll be very happy to see some solution of my problem.

    Best regards...

    Solution given in FAQ on Oracle site (one with #define) doesn't work 'cuz I don't have any "oledb.h" included...
    Last edited by aragornx; August 28th, 2007 at 05:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)