Windows | Games | Mobile | Wallpapers


ShellLink 1.0

Read and write shortcut files from managed code.


Last Week downloads: 0
Total downloads: 205
  • Last Updated: Dec 12, 2008
  • License: Freeware Free
  • OS: Windows XP/2000/98/Me
  • Requirements: No special requirements

User reviews

0 out of 5 based on 0 ratings for ShellLink 1.0

For ShellLink 1.0Publisher's description


ShellLink is a Development software developed by Karl E. Peterson. After our trial and test, the software is proved to be official, secure and free. Here is the official description for ShellLink:

Edit By BS Editor: This sample demonstrates how to read and write shortcut files from managed code. It includes definitions of the COM Interfaces and coclasses needed. Included is also a more .NET friendly wrapper class, called ShellShortcut, that takes care of most of the dirty work. To demonstrate the usage of the ShellShortcut class, a simple shortcut editor form is included. To use shortcuts in your own code, simply include the files ShellLinkNative.cs and ShellShortcut.cs in your project.
Shortcuts are created and modified using a COM API, where the ShellLink coclass is the most important part. It implements the IShellLink interface (which exists in two versions, IShellLinkA for ANSI and IShellLinkW for Unicode) used to manipulate the shortcut itself, and the IPersistFile interface for opening and saving shortcut files. (It also implements the IShellLinkDataList interface to store extra data with shortcuts, and a number of other interfaces we don't care about).
There are two ways to get access to this coclass and its related interfaces in managed code. The first is to Declare them all in a type Library, then use the TlbImp tool to create a managed assembly from it. The second way, used in this sample, is to declare all of it ourselves in code. The advantage of doing it this way is that you get one less assembly to care about. But it also means you have to understand the details about COM interop and marshaling.
The coclass and the interfaces are marked with the ComImport and Guid attributes. The interfaces also need the InterfaceType attribute. Then some of the methods and method parameters need attributes as well to ensure correct marshaling. The .NET interop documentation explains all this fairly well.
you can free download ShellLink 1.0 now.


Please be aware that Brothersoft do not supply any crack, patches, serial numbers or keygen for ShellLink,and please consult directly with program authors for any problem with ShellLink.