.NET PInvoke Exception Handling

后端 未结 4 482
無奈伤痛
無奈伤痛 2020-12-16 20:22

What exceptions can occur when using PInvoke or are all errors handled by the method return values and it is up to the developer to check and raise exceptions if ne

4条回答
  •  无人及你
    2020-12-16 20:56

    pinvoke also throws a MissingMethodException on mobile devices, when the process is out of memory: http://www.tomergabel.com/NETCompactFrameworkPInvokeAndMissingMethodException.aspx

提交回复
热议问题