dbTalk Databases Forums  

The new,delete operation error of BDB C++ object

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


Discuss The new,delete operation error of BDB C++ object in the comp.databases.berkeley-db forum.



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

Default The new,delete operation error of BDB C++ object - 02-19-2008 , 09:53 PM






My environment is:
OS: Windows XP,VC6(sp4),db-4.5.20

The sample code is
{
Db *pDb=new Db(NULL,0);
delete pDb; //Here will catch one heap error.
}

I don't konw I use it in wrong way or I need compile file with
special macro definition.


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.