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

Click here to load this message in the networking platform