J
Jarkko Alli
Hi.
I am building an application using managed C++ which is calling nicely
old unmanaged DLLs.
A lot of old logic is based on intended exceptions (iterator reaches
end of items etc.). I just realized that when throwing an exception in
an unmanaged try/catch block it is not any more caught by the
unmanaged handler in its DLL but the calling managed C++ handler, if
there is any. Now, the logic originally was to handle all exceptions
in the unmanaged code itself. Is this a feature? Is there any
mechanism to allow the unmanaged code to handle the exceptions it
already is ready to handle?
Anyone any ideas?
Regards, Jarkko Alli
I am building an application using managed C++ which is calling nicely
old unmanaged DLLs.
A lot of old logic is based on intended exceptions (iterator reaches
end of items etc.). I just realized that when throwing an exception in
an unmanaged try/catch block it is not any more caught by the
unmanaged handler in its DLL but the calling managed C++ handler, if
there is any. Now, the logic originally was to handle all exceptions
in the unmanaged code itself. Is this a feature? Is there any
mechanism to allow the unmanaged code to handle the exceptions it
already is ready to handle?
Anyone any ideas?
Regards, Jarkko Alli