Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid File Descriptor
Message
De
27/09/1999 16:01:30
 
 
À
23/09/1999 18:08:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00268291
Message ID:
00269601
Vues:
29
Update: Microsoft tech support has agreed that this as a VFP6.0 bug, which is "likely to be fixed in the next Service Pack or Version"...

We found a work-around, however. Before including a classlib or application name in the newobject() function, make sure it is NOT included in SET('CLASSLIB').

IF 'mylib' $ LOWER(SET('CLASSLIB'))
llObj = NEWOBJ("myclass")
ELSE
llObj = NEWOBJ("myclass", "mylib", "myapp.exe")
ENDIF


>I have a statement that says
>SET CLASSLIB TO mylib IN myapp.exe
>
>I am trying to use the NEWOBJECT function in myotherapp.exe like this:
>llObj = NEWOBJ("myclass", "mylib", "myapp.exe")
>
>When executing the function, I am getting Error 1111 - Invalid File Descriptor.
>
>Does anyone know what this means or how I can resolve it?
>
>Thanks,
>-Brett
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform