Help!
I have been working with Borland C/C++ 4.5 IDAPI calls and have
several problems.
1) Subsequent executions of the same code produce different return
codes from the API calls. The only calls that are being performed are :
a) Open Database
b) Set Directory
c) Open Table
One time I can run this and everything works fine. Another time, I
will get a 2706 (Invalid request) error, and other times I will get a 2803
(locked table). I seem to get better results when stepping through the code
than when running it straight through. Sometimes I have to run it five or six
times for it to finally work. Anyone have any experiences like this?
2) My second question is, once I am able to pass through the open
table problem, I begin reading the .DBF file. When I get to the 100th record
read, I get a NOTEMPTBLSPACE (No temporary table space) error. The only
problem is, I am only reading the records, I am not doing any writes. As a
matter of fact, I opened it for read only. Why is a temporary table being
created, and how can I overcome the limitations that it has.
What also seems odd about this, is that if I step through the code, I
can go further than 100 records, but if I run it, it stops at the 100th
record. So far, it seems that either I am way off course, or Borland has some
real problems with their API calls. Can anyone help?
Steven Garno