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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only