Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
imagehlp.lib
Header File
imagehlp.h
Unicode
No
Platform Notes
Windows 95: IMAGEHLP is available as a redistributable.

FindExecutableImage

The FindExecutableImage function locates an executable image file.

HANDLE FindExecutableImage(

IN LPSTR FileName,

IN LPSTR SymbolPath,

OUT LPSTR ImageFilePath

);

Parameters

FileName

The name of the executable image file that is needed. This can contain a partial path.

SymbolPath

The path where symbol files are located. This can be multiple paths, with each separated by a semicolon (;).

ImageFilePath

The full path of the executable image file that is found.

Return Values

If the function succeeds, the return value is an open handle to the executable image file.

If the function fails, then the return value is NULL. To retrieve extended error information, call GetLastError.

Remarks

The FindExecutableImage function is used to locate an executable image file. This function is provided so executable image files can be located in several different directories through a single function call. The SymbolPath parameter can contain multiple paths, with each separated by a semicolon (;). When multiple paths are specified, each directory tree is searched for the executable image file. When the file is located, the search stops. Thus, be sure to specify the SymbolPath with the paths in the correct order.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database