Mapping an DIA error code into a human friendly stringHi,<br/><br/>I am working on a project to handle Symbols files.<br/>Sometimes, DIA returns error code (e.g. <span style="font-size:x-small">E_PDB_FORMAT, ...).<br/><br/>Is there any DIA API to translate this into a string?<br/><br/>Best regards,<br/>Marc Ochsenmeier<br/><a href="mailto:marc@ochsenmeier.de">marc@ochsenmeier.de</a></span>© 2009 Microsoft Corporation. All rights reserved.Tue, 14 Jul 2009 14:37:27 Z86a57784-e0d4-4936-a77d-1b2cb1f7d1ebhttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#86a57784-e0d4-4936-a77d-1b2cb1f7d1ebhttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#86a57784-e0d4-4936-a77d-1b2cb1f7d1ebochsenmeier marchttp://social.msdn.microsoft.com/Profile/en-US/?user=ochsenmeier%20marcMapping an DIA error code into a human friendly stringHi,<br/><br/>I am working on a project to handle Symbols files.<br/>Sometimes, DIA returns error code (e.g. <span style="font-size:x-small">E_PDB_FORMAT, ...).<br/><br/>Is there any DIA API to translate this into a string?<br/><br/>Best regards,<br/>Marc Ochsenmeier<br/><a href="mailto:marc@ochsenmeier.de">marc@ochsenmeier.de</a></span>Tue, 30 Jun 2009 10:14:25 Z2009-06-30T10:14:25Zhttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#c9250487-974c-44f4-a224-cecab3a74054http://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#c9250487-974c-44f4-a224-cecab3a74054Vipul Patel - CLRhttp://social.msdn.microsoft.com/Profile/en-US/?user=Vipul%20Patel%20-%20CLRMapping an DIA error code into a human friendly stringI dont recall there is but <a href="http://msdn.microsoft.com/en-us/library/hw66s39b.aspx">http://msdn.microsoft.com/en-us/library/hw66s39b.aspx</a> mentions that this error means &quot;Attempted to access a file with an obsolete format.&quot;<hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Tue, 30 Jun 2009 14:01:27 Z2009-06-30T14:01:27Zhttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#e4b59549-c4ed-4b32-80d9-baca02a2261ehttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#e4b59549-c4ed-4b32-80d9-baca02a2261eochsenmeier marchttp://social.msdn.microsoft.com/Profile/en-US/?user=ochsenmeier%20marcMapping an DIA error code into a human friendly stringHi,<br/><br/>thanks for the link.<br/><br/>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?<br/><br/>Thanks in advance for any help.<br/><br/>Bests,<br/>Marc Ochsenmeier<br/>www.breakpoints.de<br/>Tue, 30 Jun 2009 19:05:32 Z2009-06-30T19:05:32Zhttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#daf66fa7-16d9-4b9a-b8c7-f9250502ef2ehttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#daf66fa7-16d9-4b9a-b8c7-f9250502ef2eRick Byershttp://social.msdn.microsoft.com/Profile/en-US/?user=Rick%20ByersMapping an DIA error code into a human friendly stringHi Marc,<br/>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 ;-).<br/><br/>Rick<br/>Tue, 14 Jul 2009 04:34:54 Z2009-07-14T04:34:54Zhttp://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#84c3179b-ab38-4f30-bd44-2f4da2be4774http://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/86a57784-e0d4-4936-a77d-1b2cb1f7d1eb#84c3179b-ab38-4f30-bd44-2f4da2be4774ochsenmeier marchttp://social.msdn.microsoft.com/Profile/en-US/?user=ochsenmeier%20marcMapping an DIA error code into a human friendly stringHi Rick,<br/><br/>As a matter of fact, mining is what I'have done. <br/>In my own wrapper, I keep a private map of some of these...<br/><br/>Bests<br/><br/>Marc OchsenmeierTue, 14 Jul 2009 14:37:05 Z2009-07-14T14:37:05Z