Re: Running IShellLinks
"Chris Sutcliffe" <[email protected]> Tue, 1 Mar 2005 11:37:38 -0500 (EST)
| Newsgroups | gmane.comp.windows.shell-shocked.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey, > It obviously uses the PIDL. It works but still has a few drawbacks. For > example, it doesn't set sei.dwHotkey appropriately. SW_SHOWNORMAL isn't > right either, it should use IShellLink::GetShowCmd. > > Do I have to get all that from IShellLink, or is there a function which > encapsulates that? In short, is there a function to execute IShellLinks= ? > Is ShellExecuteEx the way to go? Or what about > IContextMenu::InvokeCommand? I want a function which uses all of the > information IShellLink provides to launch the application that is linke= d > to. If there is a function, I'm not aware of it. I wrote a helper function that parses the IShellLink extracting the various pieces of information and passes it to ShellExecuteEx. Chris __________________________________________________ Subscription options and archive: http://www.freelists.org/list/shell-coding