Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling main.exe code from custom.exe
Message
From
25/07/2006 10:15:12
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
25/07/2006 09:53:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01139501
Message ID:
01139698
Views:
13
Bruce,

Hmmm... Maybe using a custom.exe is causing some kind of division where it can't see programs in main.exe. I'm not sure I can use an FXP without changing the main.exe, but I'll see what I can do. Thanks.

>Hi Joel
>
>I do something similar, but distribute the custom pieces as .FXPs. The FXPs call procedures/functions in the main exe w/o problems.
>
>Bruce
>
>>I feel like this is a VFP 101 issue, but I don't remember how do do this or if it is even possible. I have a main executable that has a hook to call a custom executable. The custom exe adds a menu option, which calls a prg in the main exe. For some reason, it cannot find the program. I tried SET PROC TO MAIN.EXE, but that has no effect. It seems like that (or something like it) worked before, but I'm having no luck. Is there any way around this without modifying the main exe?
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Reply
Map
View

Click here to load this message in the networking platform