Jacek Caban <[EMAIL PROTECTED]> writes: > I forgot to remove DestroyWindow form Release, sorry. This patch also > takes care of unloading DLL. It's really worth doing as it prevents > creating a lot of useless windows.
It still won't work, because you cannot destroy a window belonging to another thread. And switching threads inside the dll detach would probably be a bit dangerous. -- Alexandre Julliard [EMAIL PROTECTED]