Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateProcess Problems
Message
De
21/11/2003 14:15:57
 
 
À
21/11/2003 13:39:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00852013
Message ID:
00852421
Vues:
17
That worked Stefan! Thanks so much! I've learned a lot from this thread! :o)

Tracy

>
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 ...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform