Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid File Descriptor when using NEWOBJECT
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
01322094
Message ID:
01322126
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform