Versions des environnements
>>>>>Hello,
>>>>>
>>>>>I'm trying to use a config file to change the default value of the system variable _ASCIICOLS in a shipping .exe file.
>>>>>I created a file with this in it:
>>>>>_ASCIICOLS = 200
>>>>>
>>>>>I invoke the app like this:
>>>>> myapp.exe -cmyconfigfile.txt
>
>>Complete SWAG - and I doubt it would help, but try to change the extension of the config file to fpw.
>
>In general case you'd be right, but the command line has the proper switch to override that - and then the filename and extension can be anything.
I'm missing something more fundamental -
I've renamed the config file to config.fpw, and put a _STARTUP = "myfile.prg" statement in it.
I've tried COMMAND = DO "myfile.prg" instead.
I've tried including the the config file in my project as well as invoking it via a -c command line option when I start my app.
The result still looks as if none of the statements I've tried in it are being executed.
With filemon, I see my config file being accessed, but don't see myfile.prg being accessed.
?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement