I seem to have a problem when trying to capture the IShellBrowser interface of an Explorer Window. Intensive googling taught me that by sending the "undocumented" message CWM_GETISHELLBROWSER (WM_USER+7) to an explorer window would return a valid IShellBrowser interface. However, what it returns is non-NULL, but not valid, and I cannot get it to work.
Therefore always ready to try out alternative methods (when earlier attempts fail) I got hold of an IShellFolder interface for the desktop, used that to create an IShellView interface (which is valid!), and hope to use THAT to create an IShellBrowser. However, the last stage seems problematic.
So, can anyone please help me to get a valid IShellBrowser interface (in C)?
Thanks for your time and trouble,