Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateProcess Problems
Message
From
21/11/2003 14:15:57
 
 
To
21/11/2003 13:39:14
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00852013
Message ID:
00852421
Views:
16
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"
Previous
Reply
Map
View

Click here to load this message in the networking platform