Fazer uma PerguntaFazer uma Pergunta
 

RespondidoMapping an DIA error code into a human friendly string

Respostas

  • terça-feira, 14 de julho de 2009 4:34Rick ByersMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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
  • terça-feira, 14 de julho de 2009 14:37ochsenmeier marc Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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

Todas as Respostas

  • terça-feira, 30 de junho de 2009 14:01Vipul Patel - CLRMSFT, ModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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.
  • terça-feira, 30 de junho de 2009 19:05ochsenmeier marc Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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
  • terça-feira, 14 de julho de 2009 4:34Rick ByersMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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
  • terça-feira, 14 de julho de 2009 14:37ochsenmeier marc Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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