These contains two files, a header file CreateShortCut.h and a source file “ CreateShortCut.cpp”. Grab the source code attached to this article. Shortcut creation is achieved in Win32 by the use of OLE COM IShellLink interface to create the shortcut and the IPersistFile interface to save it to disk (Persistent Storage). lnk extension which contains the location (path) to a referenced object and some other information needed to access and or describe the object. To a non-file base object (printer as a case study)Īn insight into Win32, OLE COM programming and C++ is essential 3.0 Creating the shortcut.To a file base object (local and network files, folders, drives, etc.).This article will show how to create a shortcut To see how to make an Internet Shortcut, read my article (tip) " A shortcut for your website". ![]() Please note, though several people have reported success in creating a shortcut that points to a URL (Internet Shortcut) using the techniques discussed in this article, however, this is not the ideal way to create an Internet Shortcut. ![]() Installers also use it to reference programs they installed from the desktop. which the shortcut is pointing to) from anywhere within the local system or network. ![]() ![]() It is used extensively for easy access to “referenced object” (object like file, folder, drive, printer, etc. Download CreateShortCut_19_07_2013.zip - 4.4 KBĪ shortcut or, in a programmer's jargon, a shell link is a very important object in the PC world.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |