>When I was using PHDBase under an application which opens 45 aliases at startup, everything was ok. Then, I added a 46th table to be opened. When I had that count, PHDBase, when invoked, was returning an API call failed. I took me a while to figure out that I had to close the 46th table in order to PHDBase to work ok.
>
>Why did I mention 47 in my title? :)
>
>Because the search routine opens an additional table manually. So, this increments the count by 1. Thus, the PHD invoke command will create a cursor which is failing on that count. Having one less table opened makes PHDBase to work ok. Now, how about that? Anyone out there about that much tables opened when invoking a PHD command? :(
Ok, here is the reason for the problem.
If you want to simulate it, it's pretty simple. Just have a table opened which has an alias greater than 11 characters. If you invoke a PHD command when you have such table opened in your environment, PHDBase will crash. I remember I had a similar problem a month ago.