dbTalk Databases Forums  

Berkeley DB XML & Visual Studio .NET 2003

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Berkeley DB XML & Visual Studio .NET 2003 in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pascal
 
Posts: n/a

Default Berkeley DB XML & Visual Studio .NET 2003 - 08-27-2003 , 10:29 AM






Hello there,

did someone manage to get a running version of Berkeley DB XML on
Visual Studio .NET 2003?
I'm compiling the samples, but at the first "Berkeley line":

XmlContainer container(0,"test.dbxml");;

I've got an exception:
Unhandled exception at 0x10001c54 (libdbxml11.dll) in TestDB.exe:
0xC0000005: Access violation reading location 0x74736573.

It appears that the Berkeley DB XML links the Visual C++ 6.0 DLLs...
Are there special builds of the DLLs and libs?

So, if someone succeeded, please let me know...

Pascal.

Reply With Quote
  #2  
Old   
Pascal
 
Posts: n/a

Default Re: Berkeley DB XML & Visual Studio .NET 2003 - 08-28-2003 , 02:29 AM






Hans-Bernhard Broeker <broeker (AT) physik (DOT) rwth-aachen.de> wrote

Quote:
Just a hint: this implies that somehow the string itself got misused
as the value for the pointer. "test" is 0x73,0x65,0x73,0x74 in ASCII,
which translates exactly to the cited 32-bit little-endian integer.

OTOH, I don't see how a language like C++ with full type information
on function arguments could possibly fall into this trap.
Right. I didn't notice this fact.
This looks like exactly an internal type mismatch.
So this also looks like the Berkeley DB XML is waiting for something
related to Visual C++ 6.0 libraries and gets a VS.NET 2003 parameter,
don't you think?

Are there some Berkeley DB XML guys on this group? Can they confirm?
And also, is there any way to get a Berkeley DB XML working with
VS.NET 2003 (I mean can I find somewhere VS.NET builds)?

Pascal.


Reply With Quote
  #3  
Old   
John Merrells
 
Posts: n/a

Default Re: Berkeley DB XML & Visual Studio .NET 2003 - 08-28-2003 , 07:23 AM




Pascal wrote:
Quote:
So this also looks like the Berkeley DB XML is waiting for something
related to Visual C++ 6.0 libraries and gets a VS.NET 2003 parameter,
don't you think?

Are there some Berkeley DB XML guys on this group? Can they confirm?
And also, is there any way to get a Berkeley DB XML working with
VS.NET 2003 (I mean can I find somewhere VS.NET builds)?
The precompiled binaries that we supply for dbxml are compiled
with msvc 6.0. I'd suggest you rebuild dbxml from source using
VS.NET 2003. The build instructions are in the documentation.

John



Reply With Quote
  #4  
Old   
John Merrells
 
Posts: n/a

Default Re: Berkeley DB XML & Visual Studio .NET 2003 - 08-28-2003 , 07:23 AM




Pascal wrote:
Quote:
So this also looks like the Berkeley DB XML is waiting for something
related to Visual C++ 6.0 libraries and gets a VS.NET 2003 parameter,
don't you think?

Are there some Berkeley DB XML guys on this group? Can they confirm?
And also, is there any way to get a Berkeley DB XML working with
VS.NET 2003 (I mean can I find somewhere VS.NET builds)?
The precompiled binaries that we supply for dbxml are compiled
with msvc 6.0. I'd suggest you rebuild dbxml from source using
VS.NET 2003. The build instructions are in the documentation.

John



Reply With Quote
  #5  
Old   
systemmatrix
 
Posts: n/a

Default Re: Berkeley DB XML & Visual Studio .NET 2003 - 09-17-2003 , 08:24 PM



someone rebuild dbxml from source using
VS.NET 2003. and successed ?
i'm do this ,but failed, in this file path
dbxml-1.1.0\dbxml-1.1.0\src\clib\getopt.c ,the code first line is
#include "db_config.h", but the file db_config.h open error or losted

which happen?

Reply With Quote
  #6  
Old   
John Merrells
 
Posts: n/a

Default Re: Berkeley DB XML & Visual Studio .NET 2003 - 09-18-2003 , 11:32 AM




systemmatrix wrote:
Quote:
someone rebuild dbxml from source using
VS.NET 2003. and successed ?
i'm do this ,but failed, in this file path
dbxml-1.1.0\dbxml-1.1.0\src\clib\getopt.c ,the code first line is
#include "db_config.h", but the file db_config.h open error or losted
See the DB XML Windows build instructions in the manual.

If the third party packages are not in xml/lib then follow
the steps in the section titled 'Building with third-party
libraries in other directories'.

John



Reply With Quote
  #7  
Old   
John Merrells
 
Posts: n/a

Default Re: Berkeley DB XML & Visual Studio .NET 2003 - 09-18-2003 , 11:33 AM




systemmatrix wrote:
Quote:
someone rebuild dbxml from source using
VS.NET 2003. and successed ?
i'm do this ,but failed, in this file path
dbxml-1.1.0\dbxml-1.1.0\src\clib\getopt.c ,the code first line is
#include "db_config.h", but the file db_config.h open error or losted
See the DB XML Windows build instructions in the manual.

If the third party packages are not in xml/lib then follow
the steps in the section titled 'Building with third-party
libraries in other directories'.

John



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.