Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid file descriptor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00538589
Message ID:
00538685
Vues:
26
Hi Doron,

Sergey is trying to suggest, that you can search here for this title (BTW, I got it after looking at the thread, Sergey pointed, for ~5min. :)).

Anyway, I had the same error before and I fixed it by not using "qe.exe" as a parameter, but using empty string instead. The explanation of this error is vague, but it's something with having set classlib to yourlibrary.vcx somewhere earlier in a project and then issue a NewObject function (or method) with the same classlib name.

At least, this was a problem in my case and making the fourth parameter empty string fixed it. It might be unrelevant to your situation, but it's worth to try...

You really have to search here and I would not do it for you, though I can... :)


>Hi All,
>
>In order to by pass the compiler error I reference the QE.EXE indirectly.
>This class FcgCustom.VCX is within the EXE file.
>
>But from time to time I am getting Invalid file descriptor error.
>It does not happen all the time.
>
>VFP help saya the following:
>------------------------------
>Invalid file descriptor (Error 1111)
>Visual FoxPro is unable to open a file.
>
>The file is there so I am not sure why this error pops up.
>
>Any idea? (see code below)
>
>Thanks
>
>Doron
>
>LOCAL m.lcQEExe
>m.lcQEExe="QE.EXE"
>m.lcFcgClass="FcgCustom.VCX"
>
>WITH ThisForm
> .AddProperty("oQE_Keeper")
> .oQE_Keeper=NEWOBJECT("_QE_Keeper,m.lcFcgClass,m.lcQEExe)
>ENDWITH
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