I have seen this error in users logfiles. It is not possible
to reproduce it it occurs randomly.
There are actually two such functions which are called often.
One is I() translation like in INTL toolkit. All program messages (including
all in menu designer) are passed through it.
My form queryunload asks for save and this error occurs.
Second is used to control user access level.
It is called from from load to check to allow opening of this form
by user. In this case, the error occurs.
I have set procedure and set classlib commands in my program.
I think maybe this is related to bad network connection:
My program is a big exe file residing in a network server and
maybe exe faile reading fails sometimes.
>If you only get the error "sometimes" is it always in the same place? Is the function call spelled correctly? What else is going on when the error occurs?
>
>Click Suspend, pull up the debugger, and post back with more information.
>
>
>
>>I have a main program (main.exe file) like :
>>
>>PROCEDURE main
>>< startup code>
>>READ EVENTS
>>< exit code >
>>RETURN
>>
>>FUNCTION myfunc
>>
>>return
>>
>>
>>At run-time, sometimes I got an error
>>
>>File 'myfunc.prg' does not exist
>>
>>Why this error occurs?
>>I belive that function defined if main.prg is accessible at any time, at any place, so this error cannot occur.
Andrus