Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi All,

I want to write a small tool which would do something similar to SymChk from Debugging Tools for Windows. Basically I want to check a Symbol Server to see if a specified binary has a corresponding symbol file on it. I dont want to download the symbol file or load it or anything, just verify that there is a symbol file for it i.e.:

c:\tool.exe mydll.dll

I would hard code the public symbol server path, and the tool would check the symbol server to see if mydll.dll has sa matching symbol file on it, and report yes or no, without downloading the PDB or trying to load it anywhere.

I've just started researching this and am getting frustrated with the DbgHelp APIs as none (so far) look to do what I want them to do.

Any help or thoughts greatly appreciated. I'm hoping to write this in C.

Cheers

Colm
Posted

1 solution

You can look at CrashRpt open source project code. http://code.google.com/p/crashrpt/[^]

See the /processing/crashrptprobe/MiniDumpReader.cpp

You may find out something useful for you from that file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900