468,470 Members | 1,476 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Multithreading - Thread Closing problem

I have C# dll called in a VB application. And this C# dll
is multithreaded, has two threads sleeping, suspended or
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 the
multithreading and C#, VB interop?
And how can I stop this error message popping up?

Any help will be appreciated.

Nov 15 '05 #1
0 889

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Winbatch | last post: by
16 posts views Thread by Robert Zurer | last post: by
2 posts views Thread by Rich | last post: by
4 posts views Thread by VBTricks.de.vu Webmaster | last post: by
2 posts views Thread by Multithreading problem in vb.net | last post: by
4 posts views Thread by Michael | last post: by
2 posts views Thread by Pradnya Patil | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.