I need to programmatically create a shortcut using C++.
How can I do this using Win32 SDK?
What API function can be used for this purpose?
I need to programmatically create a shortcut using C++.
How can I do this using Win32 SDK?
What API function can be used for this purpose?
Take a look here: http://www.geekpedia.com/tutorial125_Create-shortcuts-with-a-.NET-application.html
Try Windows Shell Links. This page also contains a C++ example. Descriptive Snippet:
Using Shell Links
This section contains examples that demonstrate how to create and resolve shortcuts from within a Win32-based application. This section assumes you are familiar with Win32, C++, and OLE COM programming.
This MSDN artice, Shell Links, provide a comprehensive tutorial about the subject with code example.