Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid file descriptor
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00538589
Message ID:
00538793
Views:
56
Ok, great. Let me know, if it would help in your case.

>Hi Nadya,
>
>I think it is too eraly in Boston<s>, but I searched all over and found this work around as suggested by you. Now I need to test it. I just did not search a little deeper before.
>
>Thanks,
>
>Doron
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform