Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The right way to call a function in another EXE
Message
From
29/06/1997 03:48:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/06/1997 13:13:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00037838
Message ID:
00038031
Views:
36
> 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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform