Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateProcess Problems
Message
De
21/11/2003 13:39:14
 
 
À
21/11/2003 11:02:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00852013
Message ID:
00852410
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
lcExePath = ["] + fullpath(m.lcIvansApp) + [" ] + m.lcIvansParams
or
lcExePath = '"' + fullpath(m.lcIvansApp) + '" ' + m.lcIvansParams
The call to FULLPATH() is a safety measure because the value is taken from an .ini file. It ensures that the exe path is fully qualified and it also trims the text. This way the app will either be started with a fully qualified path or CreateProcess() will fail, but it cannot happen that the app gets started 'a little' - i.e. in an unusable state - just because somebody put a partial path or an unqualified name into the .ini ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform