Creatinbg desktop shortcuts using the Boost Library

Is there any way I can use the boost library to create shortcuts? Thank you.
No (you can, of course, create the file yourself, but you don't need boost for that).
http://msdn.microsoft.com/en-us/library/bb776891%28VS.85%29.aspx
Athar's link points at code which shows you how to create a Shell link file (.lnk)

If you want to create an Internet shortcut, a .url file which points at a web site/page, the approach is similar. But you need to use CLSID_InternetShortcut with IObjectWithSite::SetSite rather than CLSID_ShellLink with IShellLink::set_Path (and set_Description). In both cases you write the link to disk via IPersistFile::Save.

Andy

Internet Shortcuts
http://msdn.microsoft.com/en-us/library/bb776784%28v=vs.85%29.aspx
Last edited on
Topic archived. No new replies allowed.