Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still using Resource file?
Message
De
31/01/2012 12:11:29
 
 
À
31/01/2012 12:06:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Divers
Thread ID:
01534139
Message ID:
01534148
Vues:
60
That's right, and that's even more reason why you really should have a config.fpw in your exe, with RESOURCE=OFF. I also recommend SCREEN=OFF to avoid the annoying splash screen from VFP.

>It is especially a problem if you have a mixture of different versions of VFP and FPW programs -- newer runtime tends to automagically "upgrade" the resource file and make older runtimes think it is corrupt. If I'm not mistaken, unless you have RESOURCE=OFF in the config.fpw, the runtime engine opens the resource file *before* the main PRG is started.
>
>>First line may already be too late, at least to avoid problems. Instead you need RESOURCE=OFF in your config.fpw file, which should be included in the exe. However, in your case it sounds like you have SET Resource On somewhere in your code.
>>
>>>Hey all
>>>
>>>Got this application running on about 160 machines and all of a sudden we're getting "Resource file corrupted - overlay with new?" error in the middle of running. First command in my main program is "Set Resource OFF"
>>>
>>>Now, I can almost understand getting it when the app first fires off, but not during the running.
>>>
>>>What's going on?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform