[Dev-C++] How do you find a file's path?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Philippe de R. <phi...@ww...> - 2003-01-21 14:56:38
|
Hello, I have developed a basic application using C++-Dev that creates a process that runs IExplorer. Unfortunately, CreateProcess will not launch IExplorer unless I specify the latter's complete path (e.g., C:\program files\Explorer\ieexplore.exe) as second parameter value: CreateProcess( NULL, "C:\\Program Files\\Explorer\\Iexplore.exe", ...). I would like to search for IExplorer on the user's PC before creating the process. What is the easiest way to do that on Windows? Many thanks. Philippe de Rochambeau |