> Hi all,
> I need to implement an COM interface in C#,
[quoted text clipped - 6 lines]
> which does not allow me to return any result,
> How should I define this method ?
Either throw a COMException with the HRESULT
or manually redefine the whole interface in C#:
...
[PreserveSig]
uint IsServerAvailable();
...
Rob
Ying-Shen - 29 Sep 2005 08:04 GMT
Thanks Robert, I'll try that.
>> Hi all,
>> I need to implement an COM interface in C#,
[quoted text clipped - 16 lines]
>
> Rob