Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Procedure In VFP exe?
Message
De
02/05/2013 12:29:05
 
 
À
02/05/2013 12:24:07
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01572452
Message ID:
01572498
Vues:
45
Mike,

Look, in exe2 you want to first load the procedure file that is in exe1 into the memory of exe2. That will then allow you to call any procedure it contains. So,

In exe1 create a "stub" program that just has this code:
   function Stub_Setproc && in Exe1
   SET PROCEDURE TO the_procedure_file
   return
Now in exe2 you first call the above prg to load the procedure file
   do  Stub_Setproc in Exe1
and now you can call any contained procedure by calling
   DO someproc   && without the "IN exe1" because the procedure file has been loaded in exe2 above
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform