How To Get the HRESULT From a COM Object (186298)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
This article was previously published under Q186298 SUMMARY
When you make calls to a function of a COM interface, the function returns
an integer return code, or HRESULT. This value consists of a severity code,
context information, a facility code, and a status code that describes the
result. In Visual FoxPro, it may be useful to obtain the HRESULT for
debugging purposes or error handling.
REFERENCES
MSDN Library
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mike
Stewart, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto KB186298 |
---|
|