470,848 Members | 910 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

C# Dll, VB6 & MultiThreading Issues

I have C# dll called in a VB application. And this C# dll is
multithreaded, has two threads sleeping, suspended or running.
When the VB application exits I "Interrupt" and "Abort" these threads.
I think that these threads don't exit, because I see the Interop dll &
C# dll loaded in memory if viewed in the Process Viewer. More over
when I close the VB IDE, I get an error message reading "Memory could
not be read". And this error message pops up only when using the
multithreaded function in the C# dll and it does not come if we use
any other function in the C# dll.

And the question here is:
Is there any other better way to clean up after stopping threads and
also C#, VB interop?
And how can I stop this error message popping up?

Any help will be appreciated.
Nov 15 '05 #1
0 1368

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Mark A. Gibbs | last post: by
47 posts views Thread by mihai | last post: by
34 posts views Thread by Mo Geffer | last post: by
16 posts views Thread by Robert Zurer | last post: by
6 posts views Thread by a | last post: by
55 posts views Thread by Sam | last post: by
5 posts views Thread by sandy82 | last post: by
9 posts views Thread by facugaich | last post: by
5 posts views Thread by m.banaouas | last post: by
2 posts views Thread by Pradnya Patil | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.