Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running VFP 8 EXE from VFP 6 app
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00796315
Message ID:
00796475
Vues:
23
Don't forget to distribute the VFP 8 runtimes with the EXE. The EXE knows which version it's compiled in and will specifically look for the runtime files for that version.

>>>I need to run a small (relatively, about 700 K) executable compiled with VFP 8 from a VFP 6 app. I don't want a separate window to pop up; the VFP 8 app will get parameters from VFP 6. That is, the user would not even know that there are two .exe in place. What is the most efficient way of doing this: RUN? or another method?
>>>
>>>TIA for any suggestions.
>>
>>Depends on what the EXE actually is. IF it is a standalone EXE, then all you can do is RUN /n MyVFP8App.EXE parm1 parm2 ... parmX You also would need to compile into the EXE a CONFIG.FPW file that has SCREEN=OFF in it.
>>
>>If possible, design the VFP8 EXE to be a COM server when compiled that you can CREATEOBJECT on in the VFP 6 app. Then you can call methods in it and actually get return values, set and query properties, etc.
>
>This is an excellent idea, the COM server. I was thinking how to make the VFP 8 EXE return success/fail. COM server will solve this problem.
>Thank you very much for your help.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform