Solve LINK: fatal error LNK1181: Unable to open input file “avdevice.lib” error: command D:\Program Files (x86)\Micr

Table of Contents Solve LINK: fatal error LNK1181: Unable to open input file “avdevice.lib” error: command ‘D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\Hostx86 \x86\link.exe’ failed with exit status 1181 Problem Description solution Step 1: Identify missing library files Step 2: Add library file path to project configuration Step 3: Recompile the project Summarize Solution to LINK: fatal […]

Debugging LNK1123 Failure during conversion to COFF using IDA and windbg: invalid or corrupt file (medium)

Debugging LNK1123 failure during conversion to COFF using IDA and windbg: invalid or corrupt file (medium) Original Summarize Troubleshooting process monitor vs IDA windbg debug rc CVT1101 LNK1123 Foreword In the previous article, we summarized the use of windbg and IDA to find out the root cause of the cvtres.exe error, but left a few […]

Debugging LNK1123 Failure during conversion to COFF using IDA and windbg: Invalid or corrupt file (Part 1)

Using IDA and windbg to debug LNK1123 failed during conversion to COFF: file is invalid or damaged (Part 1) Original Summarize Troubleshooting process monitor vs IDA windbg debug rc CVT1101 LNK1123 Origin I was struggling with the problem of splitting rc some time ago, and I have compiled the problems I encountered into a document. […]

Debugging LNK1123 Failure during conversion to COFF using IDA and windbg: Invalid or corrupt file (below)

Using IDA and windbg to debug LNK1123 failed during conversion to COFF: file is invalid or damaged (Part 2) Original Summarize Troubleshooting process monitor vs IDA windbg debug rc CVT1101 LNK1123 Foreword In the previous two articles (here, here), we summarized how to use windbg and IDA to find out the root cause of the […]

Get all shortcuts associated with the file.lnk

@goto :main_20230214_010127 :main_20230214_010127 @echo off set my=123 set “filepath=%~1” if defined filepath set filepath if not exist “%filepath%” set/p “filepath=filepath=” set filepath| findstr /i /r “^filepath=”.*”$” > nul & amp; & amp; set “filepath=%filepath:~1,-1%” if not exist “%filepath%” exit /b 1 echo “lnkpath1=%filepath%” set returnVal= call :get_lnk_target3 filepath returnVal echo. if defined returnVal ( echo.dir […]

How Windows Opens and Edits .lnk Files

Article directory 1. Background 2. View/modify `.lnk` file content Solution 1: Use the `type command` to view Solution 2: Change the file suffix of `.lnk` to `.txt` and check again Solution 3: Open with `Notepad` or `NodePad++` Solution 4: Use `HxD hex editor` hexadecimal editor Scenario 5: Use third-party libraries to view or edit 1. […]

fatal error LNK1120_ 3 unresolved externals

LIBCMT.lib(loadcfg.obj) : error LNK2001: unresolved external symbol __guard_eh_cont_table LIBCMT.lib(loadcfg.obj) : error LNK2001: unresolved external symbol __guard_eh_cont_count LIBCMT.lib(loadcfg.obj) : error LNK2001: unresolved external symbol __volatile_metadata hello.exe : fatal error LNK1120: 3 unresolved externals __guard_eh_cont_table __guard_eh_cont_count __volatile_metadata These symbols or function references are defined in the LIBCMT.lib library file, add it to LIBenvironment variable Just in D:\Program\VisualStudio2022\VC\Tools\MSVC\14.34.31933\lib\x64 […]

error: LNK2001: unresolved external symbol “public: virtual struct QMetaObject const * __cdecl

Qt series article directory Article directory Qt series article directory foreword 1. What is the qmake command in QtCreator? 2. Solve Foreword I added the corresponding signals and slots to the code, but the compilation still reported an error: #ifndef PROJECTWIN_H #define PROJECTWIN_H namespace Ui {<!– –> class ProjectWin; } ProjectWin class declaration header file […]