Comments on: Get Error Message from HRESULT http://meat.net/2005/11/hresult-message/ David Terrell's blog Tue, 21 Sep 2010 00:25:05 +0000 hourly 1 http://wordpress.org/?v=3.3.2 By: Generate diagnostic message for HRESULT codes? | The Largest Forum Archive http://meat.net/2005/11/hresult-message/#comment-168 Generate diagnostic message for HRESULT codes? | The Largest Forum Archive Fri, 09 Jul 2010 20:01:34 +0000 http://meat.net/?p=255#comment-168 [...] found this simple function, but its too simple, and mostly seems to generate “unknown error”. But so far I [...] [...] found this simple function, but its too simple, and mostly seems to generate “unknown error”. But so far I [...]

]]>
By: Steven Engelhardt http://meat.net/2005/11/hresult-message/#comment-167 Steven Engelhardt Tue, 29 Nov 2005 04:56:43 +0000 http://meat.net/?p=255#comment-167 It looks like <code>_com_error::ErrorMessage()</code> uses <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/formatmessage.asp" rel="nofollow"><code>FormatMessage</code></a> internally. It looks like _com_error::ErrorMessage() uses FormatMessage internally.

]]>