Thank for the idea, I don't think it's necessary. Nevertheless I've tried
both cases.
Anyway this code works with S_OK :
CComPtr<IFileSaveDialog> pfd = fd.GetPtr();
CComQIPtr<IFileDialogCustomize> pfdc = pfd;
(btw, customization is the reason for me to use subj dialogs)
-km
----- Original Message -----
From: Timo Kunze
To: wtl@yahoogroups.com
Sent: Saturday, February 18, 2012 12:39 AM
Subject: [wtl] Re: CShellFileOpenDialog/CShellFileSaveDialog hang up my
App
Hi,
could it be that all that is missing is a call to CoInitialize?
Regards
Timo
--
www.TimoSoft-Software.de - Unicode controls for VB6
"Those who sacrifice freedom for safety deserve neither."
"Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der
Überzeugung, dass die demokratischen Kräfte überwiegen und sich – auf
demokratischem Wege – durchsetzen."
[Non-text portions of this message have been removed]