Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PHDBase on the 47th alias
Message
From
24/04/2001 13:21:36
 
 
To
23/04/2001 15:46:59
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00498711
Message ID:
00499130
Views:
13
>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform