Infinity22
Programmer
Hi!
I'm trying to write a toolbar, to replace the Windows quick-launch bar; but I've hit a problem.
Some shortcuts point to non-files, such as printers, drives, network connections, the recycle bin and My Computer...and I don't know how to use them.
I've tried ShellExecute() and I've tried (with varying degrees of ignorance) examples of iShellLink usage...all to no avail. I'm currently using iShellLink to find the target of a normal shortcut; but non-file shortcuts just have an ITEMID (or SHITEMID), and I can't do anything with it. ShellExecuteEx() accepts such values, but I can't do the default action, nor can I do the 'Status' action on a network connection shortcut.
Please, PLEASE help. It's driving me insane.
I'm trying to write a toolbar, to replace the Windows quick-launch bar; but I've hit a problem.
Some shortcuts point to non-files, such as printers, drives, network connections, the recycle bin and My Computer...and I don't know how to use them.
I've tried ShellExecute() and I've tried (with varying degrees of ignorance) examples of iShellLink usage...all to no avail. I'm currently using iShellLink to find the target of a normal shortcut; but non-file shortcuts just have an ITEMID (or SHITEMID), and I can't do anything with it. ShellExecuteEx() accepts such values, but I can't do the default action, nor can I do the 'Status' action on a network connection shortcut.
Please, PLEASE help. It's driving me insane.