I'm not sure I understand your scenario, but the
first step is to determine what kind of handles are leaking
(events, files etc).
You can use something like process explorer/handle.exe
from www.sysinternals.com or !handle command in windbg.
> Hi,
> I have an application that uses a dll that we have
[quoted text clipped - 16 lines]
> Thanks
> Prady
pradyumna - 12 Sep 2003 00:32 GMT
Hi Pavel,
I think it is socket handles. It seems WSACleanup is not
able to clean up the handles properly. I have an
application that passes a window handle to dll. However
when I open tcp connection i create a socket handle too
and it seems thats where the problem is. However this
problem doesnt arise when i write the same kind of
application without using the dll and simply open /close
tcp connection from my application.
Any clues?
Thanks
Prady
>-----Original Message-----
>I'm not sure I understand your scenario, but the
[quoted text clipped - 26 lines]
>
>.