Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

C++Builder6.0 Link Error

561922Mar 26 2007 — edited Aug 22 2007
Hill.
The Kerbeley DB Version is 4.0.5.20
The OS is Microsoft XP Professional Service Pack 2
Development Tool is Borland C++Builder 6.0

Source code:
------------------------------------------------------------------------------
#include <iostream.h>
#include "db_cxx.h"
using namespace std;
int main(int argc, char *argv[])
{
Db db(NULL, 0);
//std::cout << "Hello!" << std::endl;
db.close(0);
return 0;
}

------------------------------------------------------------------------------
The following error happed when program is linked.

[Linker Error] Unresolved external 'Db::~Db()' referenced from F:\OWNERDB\EEEE.OBJ
[Linker Error] Unresolved external 'Db::Db(DbEnv *, unsigned int)' referenced from F:\OWNERDB\EEEE.OBJ

TIA.
Peter

Message was edited by:
user558919

Comments

SURFThru
You could make all the columns as parameters in the update stored procedure.

Then on your table adapter add the call to the update stored proc. Name the update prc_your_update_name. Then in your code you can just run ta.prc_your_update_name(field1,field2,....). Not sure if this is what you are looking for and maybe you want to avoid typing all the colunms as paramters.

Edited by: SURFThru on Jun 22, 2011 1:45 PM
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 19 2007
Added on Mar 26 2007
16 comments
5,307 views