Re: Re: CShellFileOpenDialog/CShellFileSaveDialog hang up my App
"Konstantin Mironovich" <[email protected]> Sat, 18 Feb 2012 18:14:21 +0400
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Organization | ixbt.com |
| Message-ID | <EC709A5BFDA1427AB5DE2F11D7DF1831@KLM64> |
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: [email protected] 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] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wtl/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/wtl/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/