SymGetSymFromAddr gives returns error 487. Why ?

Posted on 2003-02-24
Medium Priority
Last Modified: 2013-12-03
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.

Question by:purinitin
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 86

Accepted Solution

jkr earned 800 total points
ID: 8008708
Check out http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B189780 ("PRB: SymGetSymFromAddr Fails with Error 487")

Author Comment

ID: 8014170
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.



Expert Comment

ID: 8021905
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.

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question