On 04.10.2015 00:25, lx42 wrote:
So my question is, does mono respect PreserveSig?
DllImportAttribute.PreserveSig = false is not supported.
However, methods of COM interfaces do have "PreserveSig = false"
semantics by default, unless they were marked with
Thanks for confirming.
--
View this message in context:
http://mono.1490590.n4.nabble.com/Interop-PreserveSig-tp482p488.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist -
I have something like below from the managed side:
[DllImport("MyTest", PreserveSig=false)]
public static extern void Test3();
On the native side it looks like:
HRESULT Test3()
{
return E_ABORT;
}
However when calling it, I am not getting an exception like what