From chatsiri.com
Note.
Cisco extends Phase-1 of the developer contest to February 27th, 2009[link].
From chatsiri.com
Little example macro debug with ACE.It's not good idea some case if you implement little programs.
//Cannot get data
std::cout<<"----------------Cannot get data --------------------------\n";
ACE_DEBUG((LM_ERROR,
"Trace debug get( ) function : %d ",
cursorPointer->get(&key, &data, DB_SET )));
std::cerr<<"Not record : "<std::cout<<"----------------End Cannot get data-----------------------\n";
After execute code.See below.
![]() |
| From chatsiri.com |
Before compile code.I update Sconstruct script for Scons.
Sconstruct add " 'ACE' " in USED_LIBS
USED_LIBS = ['db_cxx',
'pthread',
'ACE']
See also at Sconstruct[link]
It's not kidding in BDB.Last time,I thought BDB had concept same other driver connections of API.Step for insert key and data into file.BDB generate file insert key and data.But I cannot invoke data after insert.Some problem(I think) because create 2 object create in same time.First object using open database function during second object use open function.

What's problem?
EnvTest.cpp[link]
EnvTest.h[link]
retiveDatabase.h[link]