PRB: SymGetSymFromAddr Fails with Error 487 (189780)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows XP
This article was previously published under Q189780 SYMPTOMS
The SymGetSymFromAddr DbgHelp.dll API function fails with Error 487
(ERROR_INVALID_ADDRESS) when it cannot find the symbol name in its internal
symbol list. This typically happens if SymGetSymFromAddr is called from a
Microsoft Windows NT, Windows 2000, and Windows XP Service to find symbolic debugging information.
CAUSE
By default, the symbol information for a module is found using the Win32
process current directory. A Windows NT, Windows 2000, and Windows XP service process does not have the same default current directory as a non-service Win32 process.
STATUS
This behavior is by design.
REFERENCES
For more information about DbgHelp API see:
Platform SDK: Windows Base Services; Executables; PE Image Helper
For more information about creating PDB symbol files see the product
documentation provided with Microsoft Visual C++ 32-bit Edition.
Modification Type: | Major | Last Reviewed: | 4/13/2004 |
---|
Keywords: | kbAPI kbBug kbDebug kbImgHlp kbKernBase kbprb KB189780 |
---|
|