Article ID: 189780
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Win32 Application Programming Interface, when used with:
- Microsoft Windows 2000 Standard Edition
- Microsoft Windows XP Professional
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.
Keywords: kbapi kbbug kbdebug kbimghlp kbkernbase kbprb KB189780