.NET Framework Bookmark and Share   
 index > Building Development and Diagnostic Tools for .Net > Mapping an DIA error code into a human friendly string
 

Mapping an DIA error code into a human friendly string

Hi,

I am working on a project to handle Symbols files.
Sometimes, DIA returns error code (e.g. E_PDB_FORMAT, ...).

Is there any DIA API to translate this into a string?

Best regards,
Marc Ochsenmeier
marc@ochsenmeier.de
ochsenmeier marc
Hi Marc,
Sorry but I'm pretty sure that the descriptions for these HRESULTS are not stored anywhere. They're certainly not in a string table in msdia90.dll, and they're not part of the HRESULT string table for the .NET Framework in mscorrc.dll. So I guess the best you can do is mine MSDN ;-).

Rick
  • Tuesday, July 14, 2009 2:37 PMochsenmeier marc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Rick,

    As a matter of fact, miningis what I'have done.
    In my own wrapper, I keep a private map of some of these...

    Bests

    Marc Ochsenmeier
  • All Replies

    Rick Byers
    Hi,

    thanks for the link.

    Actually the question was not about the meaning of this special error id BUT, in general, is there an API which converts/maps DIA related error code into human readable form?

    Thanks in advance for any help.

    Bests,
    Marc Ochsenmeier
    www.breakpoints.de
    ochsenmeier marc

    You can use google to search for other answers

    Custom Search

    More Threads

    • Error VSP1460: Profiling WOW64 processes is not supported by this version of the profiling tools
    • Any SPY++ like tool available for Java Application.
    • Setp-Out and Exception filters
    • InterceptCurrentException
    • Problem with showing Toltip on DataGridView Column Headers .NET 3.5
    • Multiple App.config
    • MDbg sample code does not close PDB files or release file handle/lock?
    • Check the assembly files in dos command
    • Mike Stall's Snapshot tool
    • tracking context scheduling events