Page 1 of 1

GetSpecialFolder and CoUninitialize bug

PostPosted: Fri Aug 10, 2007 2:15 pm
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.

PostPosted: Wed Aug 15, 2007 7:58 am
by madshi
What do I have to do to reproduce this problem on my PC? Thanks!