Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command statement in CONFIG.FPW does not work
Message
De
08/08/2001 14:03:45
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00541420
Message ID:
00541435
Vues:
11
I'm trying to set the environment before the app starts. The app is a third party executable that I do not have source code to. Acutally I was trying to issue the sys(3050) commands to improve app response times.


>Looks like you're trying to get config.fpw to control program flow??? Why not just get MAIN.PRG to DO TEST ??? Config.fpw should just set up the startup conditions - most of that should really be controlled by the app itself.
>
>>Could someone verify this for me...or tell me what I am doing wrong?
>>
>>Command statement in CONFIG.FPW does not work when I run an app compiled as a standalone exe.
>>
>>To test, this is what I've been trying...
>>
>>1) CREA PROJ TEST
>>2) Add program - MAIN.PRG
>>(MAIN.PRG Code)
>>WAIT WINDOW SET('TALK')
>>
>>3) Create CONFIG.FPW file
>>(CONFIG.FPW)
>>COMMAND=DO TEST
>>
>>4. Create TEST.PRG
>>(TEST.PRG)
>>SET TALK ON && or OFF...whatever is different than default setting
>>
>>No FOXPROWCFG enviroment variable exists.
>>CONFIG.FPW is in the same dir as the EXE file.
>>
>>Compile the project into an EXE and run TEST.EXE from Windows.
>>
>>TIA!
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform