другой такой же (hwobr) wrote in csharp,
другой такой же
hwobr
csharp

Application stops owing to callback from unmanaged DLL

Why does my c# application stop after receiving a callback from unmanaged DLL?

I've just encountered this very strange problem. And wonder why it could happen.

The similar situation is described by someone on MSDN-site.
http://social.msdn.microsoft.com/Forums/en-US/clr/thread/25bd7c1d-373f-4ef7-a64b-a101897b6b9a/

But nobody there brought a clear explanation of that yet.

This little article described how to deal with callbacks from unmanaged code.
http://www.codeproject.com/KB/cs/win32_to_net.aspx
I think I did everything properly so that the program works well. But it doesn't.
If necessary, I could share snippets of my code.

Thank you.
Subscribe
  • Post a new comment

    Error

    default userpic
  • 3 comments