Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TEMPDIR dos not seem to work
Message
From
21/12/2003 07:04:02
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00860915
Message ID:
00861084
Views:
27
> I noticed today that it seems CONFIG.FPW has no affect unless the EXE
> (as opposed to a PRG) is running.

Yes, I think a good rule of thumb would be that CONFIG.FPW will be honoured if and only if a new instance of the Fox runtime is being started.

So, if an .EXE is started from the operating system level then the config will be used, but if you DO the same .EXE from an already-running Fox then the config will be ignored. Similar things apply to Fox .DLLs, where a bound config will be used when the first instance of a class from that .DLL is created (because this causes the .DLL to be loaded which in turn loads a copy of the runtime).

I think this makes sense if one looks at CONFIG.FPW as a means of configuring and initializing the Fox runtime, rather than as a means of specifying the initial state (and optional initial command) of an application.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform