I have a compiled Win32 app that uses a .ico resource file, declared in the .cpp file. My icon displays fine in the application when running. How can I automatically have that same icon as a desktop shortcut, when the user creates a shortcut to the .exe file? Currently, it uses a default icon.
I think you can direct the shortcut to the icon, or the file where it lives (can be dll, exe, other) manually in the configure shortcut area, but that may be a lot to ask most users. You can provide a preconfigured shortcut in the installer to do that for them, but better, fix it as above so it just works.