View Single Post
Old 14th December 2003, 17:34   #1
sergiii
Junior Member
 
Join Date: Dec 2003
Posts: 2
Writing a container for VIS PlugIns

Hi!

I've written a container that is able to load and start VIS plugins. It works fine for some plugins, but most of them make my app crash after beeing stopped and unloaded.

I call "Quit" on the module and after that I unload the DLL by a call to FreeLibrary. But after that my calling thread gets terminated and my app crashes.

Since it works for some plugins and doesn't for other I guess there's a certain difference in the way some plugins remove themselves from memory. Any ideas what I need to handle to prevent my thread from beeing terminated? How does Winamp load and execute Plugins?

Thanx for your help,
sergiii.
sergiii is offline   Reply With Quote