Index   Commented   Search   About

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.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun