Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>But same exe running without error on another computers and giving error on one computer only.
>
>Error Routine showing below code :
>
>--------------------------------------------------------------------------------
>24-07-2013 12:46:23
>There is an Error & Error no. is 1960
>Error on line 4
>On method SALSX.LOAD
>Illegal redefinition of variable ZURETVAL.
>Foxcode table not found, is not correct version or is incompatible.
>PROGRAM LEVEL : 1
>PROGRAM NAME : d:\omusers\omuser6\omtrade.exe
>MODULE/OBJ NAME : main
>MODULE/OBJ SOURCE : D:\OmUSERS\omuser6\
>LINE NUMBER : 480
>LINE TEXT :
>REPORT NAME :
>DIRECTORY : \OMUSERS\OMUSER6\
>USERNAME : SERVER # suchita
>--------------------------------------------------------------------------------
>24-07-2013 12:46:23
>There is an Error & Error no. is 1960
>Error on line 4
>On method SALSX.LOAD
>Illegal redefinition of variable ZURETVAL.
>Foxcode table not found, is not correct version or is incompatible.
>PROGRAM LEVEL : 2
>PROGRAM NAME : d:\omusers\omuser6\salsx.sct
>MODULE/OBJ NAME : salsx.load
>MODULE/OBJ SOURCE : d:\omusers\omuser6\salsx.sct
>LINE NUMBER : 4
>LINE TEXT : PUBLIC oldproduct, oldrinward, sale2edit, sale2add, zuretval, oareacode, oareaname, osmancode, osmanname, oaccode, oacname, ocompcode, ocompname, odivcode, odivname
>REPORT NAME :
>DIRECTORY : \OMUSERS\OMUSER6\
>USERNAME : SERVER # suchita
>--------------------------------------------------------------------------------
>24-07-2013 12:46:23
>There is an Error & Error no. is 1960
>Error on line 4
>On method SALSX.LOAD
>Illegal redefinition of variable ZURETVAL.
>Foxcode table not found, is not correct version or is incompatible.
>PROGRAM LEVEL : 3
>PROGRAM NAME : ERRMESS.FXP
>MODULE/OBJ NAME : salsx.load
>MODULE/OBJ SOURCE : D:\OmUSERS\omuser6\
>LINE NUMBER : 23
>LINE TEXT :
>REPORT NAME :
>DIRECTORY : \OMUSERS\OMUSER6\
>USERNAME : SERVER # suchita
>
>
>Warm regards,
>mk.
>
>>>Error Message: Illegal redefinition of variable ZURETVAL. Foxcode table not found, is not correct version or is incompatible.
>>>
>>>Showing error in below code:
>>>
>>>PUBLIC oldproduct, oldrinward, sale2edit, sale2add, zuretval, oareacode, oareaname, osmancode, osmanname, oaccode, oacname, ocompcode
>>>
>>>
>>>This Error appear on One computer only. On other computers working without any error
>>>
>>>
>>>Warm regards,
>>>mk.
>>Hi,
>>
>>Dont use Public!
>>And if you cannot avoid
>>than dont use them
>>
>>Show us the line of code where the error occurs "illegeal redefinition of variable ZuRetVal" Error(1960) Most probable you have a local statement where you have already declared ZuRetVal as public or local before.
>>It seems to me the error `Foxcode table not found, is not correct version or is incompatible.` Error(2042) is a different - second error
>>
>>Regards,
>>
>>Koen
Hi,
I would advise you to implent a more extensive errorhandler *) listing all the variables a.s.o. also since this seems to be an error which occurs in an exe and not in your development - a difficult one to examine.
Does this user, by any change have VFP installed on his/her pc? If so than you can load the project and debug easily.
Error 1960 is clear and selfexplainable. There must be somewher in this pc environment an other declaration.
Can you not avoid the publics?
Regards,
Koen
P.S. if in need I could give you such an errorhandler *)
Précédent
Suivant
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