GetSpecialFolder and CoUninitialize bug

delphi package - easy access to shell apis
Post Reply
Posts: 14
Joined: Tue Jun 21, 2005 11:02 am
Location: Moldova

GetSpecialFolder and CoUninitialize bug

Post by evisoft »

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.
Site Admin
Posts: 10527
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

What do I have to do to reproduce this problem on my PC? Thanks!
Post Reply