Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File 'myfunc.prg' does not exist
Message
De
11/02/2001 18:04:43
 
 
À
11/02/2001 14:06:14
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00474809
Message ID:
00474844
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform