• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 969
  • Last Modified:

SymGetSymFromAddr gives returns error 487. Why ?

Why does the routine SymGetSymFromAddr() gives
an error no 487 when I link my application
without /DEBUG option or if I use /INCREMENT:NO
option with the linker.

Please suggest an explanation for this.

Rgds.
0
purinitin
Asked:
purinitin
1 Solution
 
jkrCommented:
Check out http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B189780 ("PRB: SymGetSymFromAddr Fails with Error 487")
0
 
purinitinAuthor Commented:
Thanks jkr for the comment. Although the link
provided by you does give some information about
the API but it doesn't tell me why do I need to link
my DLL with debug option ON. Can you please
specify the exact reason for this.
I appreciate your help.

Rgds,


Nitin
0
 
BeyondWuCommented:
Whatever your program is a normal app or a service, if you close the Debug option, the compiler will not create any debug infomations for you, so there is no any .PDB file for you, so the SymGetSymFromAddr will return false.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now