Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 and VFP7 mix
Message
De
05/03/2003 13:04:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP5 and VFP7 mix
Divers
Thread ID:
00761633
Message ID:
00761633
Vues:
54
I have two EXEs, one compiled in VFP5 (call it PROG5.EXE), the other compiled in VFP7 (call it PROG7.EXE), running on a single workstation. Both VFP5 and VFP7 runtimes are installed, and both PROG5.EXE and PROG7.EXE run fine when launched separately.

But when I call PROG7.EXE from within PROG5.EXE, VFP5 throws Error 1195 "Object file PROG7.EXE was compiled in a previous version of FoxPro".

The call to PROG7.EXE from within PROG5.EXE is being made like this:

oExternal = CREATEOBJECT("ShellExecute",&sCommand,"open",&lParam,&sPath)
oExternal.Execute()

where
&sCommand is the fully-qualified path to PROG7.EXE
&lParam is a parameter string of arguments passed to PROG7.EXE
&sPath is the default directory where PROG7.EXE resides

This call from PROG5.EXE to PROG7.EXE worked great before PROG7.EXE was compiled in VFP7.

Any answers out there?

Thanks
Curt
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform