SAMPLE: Decode32 and Decode16 OLE Error Code Decoder Tools

ID: Q122957

The information in this article applies to:

SUMMARY

Decode32 is a sample decoder for 32-bit OLE version error codes. See the Decode16 sample for a decoder for 16-bit OLE error codes. In addition to decoding the HRESULT, DECODE32 also uses FormatMessage() to provide a description of the error. Enter the HRESULT in hexadecimal format and press the Decode button.

MORE INFORMATION

The following files are available for download from the Microsoft Software Library:

 ~ Decode32.exe (size: 29930 bytes) 
 ~ Decode16.exe (size: 21884 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

Additional query words: HRESULT SCODE DECODE
Keywords          : kbfile kbsample LeTwoTls 
Version           : WINNT:2.1,
Platform          : winnt

Last Reviewed: March 28, 1998