12-12-2008 04:05 PM
I am using some ActiveX that returns meaningfull HRESULT in a valid FACILITY_ITF range. Unfamiliar with FACILITY_ITF? Look here: http://msdn.microsoft.com/en-us/library/ms679751(VS.85).aspx
The control also uses the IErrorInfo interface to fill in additionnal details and error description.
Does LabVIEW uses the IErrorInfo interface ?
From LabVIEW, I do connect the Error cluster wire but the only error vaklue I get is 97 (unknown system error).
Is it possible to retrieve informations embeddde in the iErrorInfo interface?
12-15-2008 04:19 PM
Hi Rastikan,
You can find information on how to do this in the LabWindows/CVI help file for CA_ServerSetErrorInfo.
You should be able to do this in LabVIEW by creating an Automation Refnum constant off of an Automation Open from the ActiveX palette, right clicking the refnum and selecting the ActiveX Class that you are using.
Regards,
Stephen S.