开发者

Handle exception from DLL

开发者 https://www.devze.com 2023-03-08 11:29 出处:网络
I have DLL w开发者_运维问答ritten in C, which can raise a null-pointer exception. The DLL is used from C++ code. How can I handle this exception from C++ code? You can use Structured Exception Handlin

I have DLL w开发者_运维问答ritten in C, which can raise a null-pointer exception. The DLL is used from C++ code. How can I handle this exception from C++ code?


You can use Structured Exception Handling (SEH). This is the Windows-specific way of catching various exceptions- __try and __except.

0

精彩评论

暂无评论...
验证码 换一张
取 消