[shell-coding] Re: Running IShellLinks
- From: "Chris Sutcliffe" <ironhead@xxxxxxxxxx>
- To: shell-coding@xxxxxxxxxxxxx
- Date: Tue, 1 Mar 2005 11:37:38 -0500 (EST)
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 linked
> 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
- References:
- [shell-coding] Running IShellLinks
- From: ilmcuts
Other related posts:
- » [shell-coding] Running IShellLinks
- » [shell-coding] Re: Running IShellLinks
- » [shell-coding] Re: Running IShellLinks
- [shell-coding] Running IShellLinks
- From: ilmcuts