General information
Category:
Installation, Setup and Configuration
> 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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only