Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two FoxPro Programs Running at Same Time
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00405761
Message ID:
00414365
Views:
24
>Hi Frank,
>
>I have tried everything I can think of to resolve this problem. I have verified that the config.fpw I am using is the correct one by placing a 'TITLE = This is the right one" in it. I have reveiwed my code to ensure that the paths are proper, that I am using SYS(2004)+ filename, etc., etc.. For whatever reason, my program is still not finding the ffix3_25.fll that is in the same directory as my executable. It is finding another ffix3_25.fll that is located in another drive that happens to be lower than mine, i.e, it is in the D:\ drive and my executable and directory are on the J:\ drive.
>
>This is really weird in that if I start my program, then start the other program, the other program will use my foxw2600.esl file. I know this because I have a custom icon attached to my .esl file. Of course it finds its own ffix3_25.fll file before it finds mine, therefore it does not error out.
>
>If you have any ideas on how to "ensure" that my directory is searched before any other directory, I would appreciate it. I have even gone as far as putting additional PATH = J:\ ... etc. in the config.fpw. Nothing seems to work.
>
>Thanks,
>
>TFISHER
>
>>Have you tried to "force" your application to use your CONFIG.FPW file by including the -C switch in the startup command. For example:
>>
>>C:\MYPROG\PROG.EXE -CC:\MYPROG\CONFIG.FPW

Since you say the FLL is in the same folder as your EXE, then you could do:

SET LIBRARY TO (JUSTPATH(SYS(16,0)+"\ffix3_25.fll") ADDITIVE
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform