Handle exception from DLL
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
.
精彩评论