Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The right way to call a function in another EXE
Message
De
29/06/1997 03:48:33
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/06/1997 13:13:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037838
Message ID:
00038031
Vues:
38
> SET PROCEDURE TO myexe.exe ADDITIVE > IF NOT MyFunction(...) > ... > ENDIF > RELEASE PROCEDURE myexe.exe > > But, this forces me to use SET PROCEDURE. How can I avoid that and still be > able to use IF NOT MyFunction? Make myexe.exe your main :) Really, have the main program of myexe.exe accept a (set of) parameter(s) telling it which app to call, so it goes as top in the execution chain; you don't have to call it explicitly, it's already there. Since you call from it via name expression or macro, the app called from it doesn't appear in the project manager etc. The problems on the other side (your app's pjx having no idea of where the routines from myexe are) are discussed in another thread, we talk of that there.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform