Hello all. I'm using CodeBase's C++ API for Windows CE 4.2.
When I enter data into a table, I do something like the following:
Code4 cb;
Data4 table(cb,"my_table"));
..=2E. fill the table ...
Index4 index;
index.open(table, "my_table");
if (index.isValid())
{
table.pack(); // <---------
index.close();
}
table.close();
cb.initUndo();
That is, I fill my table, call the index and so on. Yet _sometimes_
the call to the table's pack method fails. Not only fails, but it
throws an exception (since I'm in Windows CE 4.2, an unhandled
exception results in a blocked terminal, so I have to perform a [soft
| warm] reset.
Does anybody have a clue why is this happening? Any help will be
really appreciated.
Regards,
Fernando G=F3mez.


|