Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid File Descriptor when using NEWOBJECT
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Invalid File Descriptor when using NEWOBJECT
Miscellaneous
Thread ID:
01322094
Message ID:
01322094
Views:
74
We have a form in our app that allows the user to enter a rate calculation formula using a subset of VFP commands. We then pass this formula to EXECSCRIPT to get a result.

In the past we had a client with a certain formula that uses NEWOBJECT to instantiate a class within our app, and this used to work like a charm. Here was the general idea:
NEWOBJECT("cClassName", "cClassLib", ALLTRIM(Application.ServerName))
For whatever reason, this is now causing an Invalid File Descriptor error when attempting to validate the formula. If I remove the 3rd parameter, it validates. If I then re-insert the 3rd parameter above, the formula will actually validate. It's the first validation attempt that causes the error.

Any ideas?
Jon Rosenbaum
Devcon Drummer
Next
Reply
Map
View

Click here to load this message in the networking platform