MSDN > 論壇首頁 > 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

解答

  • Tuesday, 14 July, 2009 4:34Rick ByersMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    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, 14 July, 2009 14:37ochsenmeier marc 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Hi Rick,

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

    Bests

    Marc Ochsenmeier

所有回覆

  • Tuesday, 30 June, 2009 14:01Vipul Patel - CLRMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I dont recall there is but http://msdn.microsoft.com/en-us/library/hw66s39b.aspx mentions that this error means "Attempted to access a file with an obsolete format."
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Tuesday, 30 June, 2009 19:05ochsenmeier marc 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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
  • Tuesday, 14 July, 2009 4:34Rick ByersMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    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, 14 July, 2009 14:37ochsenmeier marc 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Hi Rick,

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

    Bests

    Marc Ochsenmeier