Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registry settings to run both VFP6 and VFP8 applications
Message
De
18/06/2004 14:03:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Registry settings to run both VFP6 and VFP8 applications
Divers
Thread ID:
00915174
Message ID:
00915174
Vues:
57
I am trying to run applications built with multiple versions of FoxPro on the same machine, but I get an error when running the older VFP6 application after installing a VFP8 application on the same machine. The error is "Visual FoxPro cannot start. Could not load resources." I have tried reinstalling VFP6 (plus Service Packs 3 and 5), with no effect.

I have the command "SET RESOURCE OFF" in the main program of the project, and later a resource file is set to a file that I identify by path and filename. However, I get the "Visual FoxPro cannot start. Could not load resources." error immediately, before even entering my application.

I also tried putting a copy of VFP6R.dll, VFP6RENU.dll, and VFP6T.dll in the runtime directory, also with no effect.

As a further test, on the machine with both VFP6 and VFP8 development systems, I made a small project in a new directory with one program with one line of code, a WAIT WINDOW. I built an EXE with VFP6 and again I get the same "Visual FoxPro cannot start. Could not load resources." error.

Again, I put the DLL files in the new directory, but continued to get the error. (Note that when later built with VFP8, this little project does run and displays the WAIT WINDOW.)

So next, on a computer that never had the FoxPro Development System installed or any FoxPro application, I first installed the VFP6 application, then the VFP8. And again the 6 application doesn't work after installing the 8, and 6 still doesn't work after uninstalling 8.

A SETUP.EXE file was created with WISE Installation System for the VFP6 and VFP8 applications. The VFP6 application worked until installing VFP8. It seems that something is being permanently set during setup that is blocking VFP6.

Could something have changed in the Registry that permanently disabled FoxPro 6? There are entries for both versions 6 and 8 and none of them are removed from the Registry when I do an Uninstall of the applications (on the computer that does not have either development system loaded).

How can I sort out what belongs in the Registry to run multiple versions of FoxPro applications? How do I convey this in our WISE Installation Setup? Is there some other type of setting that has disabled my VFP6 application? Thank you for any suggestions that will allow me to run applications on the same machine built with versions VFP6 and VFP8.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform