Create Windows "shortcut" (.lnk) with D?

John via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Mar 6 03:00:35 PST 2016


On Sunday, 6 March 2016 at 03:13:23 UTC, 岩倉 澪 wrote:
>     IShellLinkA* shellLink;
>     IPersistFile* linkFile;
>
> Any help would be highly appreciated as I'm new to Windows 
> programming in D and have no idea what I'm doing wrong!

In D, interfaces are references, so it should be:

   IShellLinkA shellLink;
   IPersistFile linkFile;





More information about the Digitalmars-d-learn mailing list