
Hello!
Please, help me with next issue
I'm writing ContextMenu ShellExtension - Everything works fine, instead of realisation of IObjectWithSite interface. There I try to get an interface of IShellBrowser-type for seamless working at explorer and large group of applications, using common dialogs. For finding this interface from Explorer/CommonDialog I use an instance of IServiceProvider interface - with SID_STopLevelBrowser-key for explorer - and with SID_SCommDlgBrowser-key for common dialogs.
Returned pointer is castable to IShellBrowser-interface. But noone of these SID-keys are not usable for getting same interface for TotalCommander's view. I need just use it for changing current directory - but I have to be sharp sure that I deal with an instance of TotalCommander for changing funtioning mode of context menu shell extension. How may I to do this? I hope, that IUnknown-object being gotten as a parameter of IObjectWithSite.SetSite is enough to solvet his problem.
1. I need to decide - what host have deployed context menu extension (Is it TC?)
2. I need to get an instance of IShellBrowser interface to control current displaying directory/folder form realisation of IObjectWithSite.SetSite call.
Please, help me. Thank you.