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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement