Debugging Tools for Windows |
The SetImagePath and SetImagePathWide methods set the executable image path.
IDebugSymbols::SetImagePath(
IN PCSTR Path
);
IdebugSymbols3::SetImagePathWide(
IN PCWSTR Path
);
#ifdef UNICODE
#define SetImagePathT SetImagePathWide
#else
#define SetImagePathT SetImagePath
#endif
These methods can also return error values. See Return Values for more details.
SetImagePath is available in all versions of IDebugSymbols. SetImagePathWide is available in IDebugSymbols3 and later versions.
The executable image path is used by the engine when searching for executable images.
The executable image path can consist of several directories separated by semicolons. These directories are searched in order.
For more information about the executable image path, see Executable Image Path.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.