Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid File Descriptor
Message
From
27/09/1999 16:01:30
 
 
To
23/09/1999 18:08:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00268291
Message ID:
00269601
Views:
28
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
Map
View

Click here to load this message in the networking platform