Microsoft Developer Network > 포럼 홈 > 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

답변

  • 2009년 7월 14일 화요일 오전 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
  • 2009년 7월 14일 화요일 오후 2: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

모든 응답

  • 2009년 6월 30일 화요일 오후 2: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.
  • 2009년 6월 30일 화요일 오후 7: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
  • 2009년 7월 14일 화요일 오전 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
  • 2009년 7월 14일 화요일 오후 2: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