Questions tagged [lnk]

Use this tag for questions about Windows .lnk files representing Shortcuts (or Shell Links). For questions about link errors after compilation (of for example C/C++ code) use the tag [linker-error]

Use this tag if your question is about working with the .lnk (Shell Links) files from a programming perspective.

This can include:

  • the creation of such .lnk files,
  • the required registry keys,
  • its installation by means of a setupprogram,
  • its binary format
  • the relation with IShellLink

Notice that in Unix variants those files are sometimes called .Desktop files.

Wikipedia reference

128 questions
0
votes
2 answers

LNK2005 error with vector

This blog Cubic suggested trying four things and then more or less asking for help Rebuild, check check Runtime Libraries, only have one project check entry point, check SUBSYSTEM:CONSULE check for force included .lib files, I do not see #pragma…
forest.peterson
  • 755
  • 2
  • 13
  • 30
0
votes
1 answer

C++/CLI wrapper LNK2028 and LNK2019 error

I need following function (from C++ dll) available in C++/CLI extern "C" _declspec(dllexport) void __stdcall DestroyInstance(CKeyManagerServerApp *ptr); My try: [DllImport("KeyManagerServer.dll", CallingConvention=CallingConvention::StdCall)] void…
leon22
  • 5,280
  • 19
  • 62
  • 100
-1
votes
1 answer

qpdf with visual studio console project but lnk1107 - a dll cannot read at 0x308

I follow this link and download the built directory, tring to use qpdf library in a easy way. How to build qpdf on Windows? I do these steps to setup my visual studio project: 1. C/C++ -> General -> Additional Include Directories :…
tian
  • 1
  • 1
  • 1
-1
votes
1 answer

How to get the path of Shortcut file i.e., lnk file when we read from FileChooser java

How to get the path of Shortcut i.e., lnk file when we read from FileChooser java We have a environment that, actual files are stored in the server and shortcut files are given to users. User choose the shortcut file from the application, but when…
-1
votes
1 answer

Change directory to a SharePoint link

Via command line, can someone suggest ways to change directory (cd) to a SharePoint link (pointed via a xyz.lnk link)?
-1
votes
1 answer

batch removing lnk from desktop

Im using a batchfile stored on a usbdevice to clean up computers. Im looking for a solution to remove ink files from desktop. Now i print it manualy in my batch. EKS: del /s /q /f "%userprofile%\desktop\Send til OneNote 2013.lnk" del /s /q /f…
-1
votes
1 answer

Directx8 error LNK2019: unresolved external symbol

Im making RPG game (Diablo) for my graduation project. I tried compiling Jim Adams Programing RPG with Directx 8 sample. Ignore comments they are in other…
-3
votes
2 answers

error LNK1152: cannot resolve one or more undecorated symbols. How to fix?

The problem with the problem is, I don't know where the problem exists, so I can't paste all my source codes here. The error is a LNK error, LNK 1152 to be exact. I get 3 warnings brought with it: error LNK1152: cannot resolve one or more…
Miracle
  • 11
  • 1
  • 6
1 2 3
8
9