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
Miscellaneous
Thread ID:
01322094
Message ID:
01322126
Views:
14
>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?

Check out Re: EXECSCRIPT and classes Thread #1116690
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform