L
lakshmi
Hi
We are rewriting a COM object in C#. The COM object
returns HRESULT for invalid arguments, null values etc.
The HRESULT is created using the MAKE_HRESULT macro in C++.
1.What is the C# equivalent of MAKE_HRESULT?
2.How do I return a HRESULT or an exception from my C#
program that would indicate a FAILURE.
Any help is appreciated.
Thanks.
We are rewriting a COM object in C#. The COM object
returns HRESULT for invalid arguments, null values etc.
The HRESULT is created using the MAKE_HRESULT macro in C++.
1.What is the C# equivalent of MAKE_HRESULT?
2.How do I return a HRESULT or an exception from my C#
program that would indicate a FAILURE.
Any help is appreciated.
Thanks.