Is there anyway to throw an exception message(could be any string literal) from unmanaged code (c++ dll) to managed code(C#) ?
I have gone throw several posts about unmanaged exceptions but no where I have found anything related to string message being thrown. Is it at all possible ?
The exception is raised using the usual throw statement in C++. If I simply throw the exception, I get error message while running application in C# "External component has thrown an exception".
Let me know if you need any more info.
Thanks,