GetSpecialFolder and CoUninitialize bug

delphi package - easy access to shell apis

GetSpecialFolder and CoUninitialize bug

Postby evisoft » Fri Aug 10, 2007 2:15 pm

Hi, madshi
I think i found a bug in unit madShell.
My dll plug-in for outlook stop response when I do OleUninitialize, basically Virtual Tree do this.
After debuging several days i found that problem caused by function
It using TIShellObj.Create that call CoInitialize(nil); but never call CoUnInitialize

I tried to comment all CoInitialize(nil); and using initialization/finalization
to do this job but
it freeze when on CoUnInitialize in finalization, seams you not free some COM objects.

I using this version.
// madShell.pas version: 1.3p · date: 2006-09-07

Best regards, Vitalie Esanu.
Posts: 14
Joined: Tue Jun 21, 2005 11:02 am
Location: Moldova

Postby madshi » Wed Aug 15, 2007 7:58 am

What do I have to do to reproduce this problem on my PC? Thanks!
Site Admin
Posts: 10249
Joined: Sun Mar 21, 2004 5:25 pm

Return to madShell

Who is online

Users browsing this forum: No registered users and 2 guests