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).
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.


Internet Shortcuts
Last edited on
Topic archived. No new replies allowed.