In the VS 20XX custom project properties, select “General” on the left, “Use of MFC” on the right, and select “Use of MFC in Shared DLLs” next to it, as shown in Figure 1
Figure 1
LINK: fatal error LNK1561: cannot open E:\ test1.exe to write 1> in VS 20XX MFC; The operation to build project “test1.vcxproj” has completed – failed.
Solution: Change Settings: Linker ->; Advanced – & gt; Change the entry point to WinMainCRTStartup, as shown in Figure 2.
Figure 2
It’s done!! As shown in figure 3
Figure 3
Also, if a LINK: fatal error LNK1168 is reported, as shown in Figure 4
Figure 4.
This usually means that the program that was run last time did not shut down properly.
Indicate that the interface is not related, the program did not exit. Check if the task manager has a process called xx. exe, open the task manager, find the process called xx. exe, and close it. Then recompile the connection.
Figure 1
LINK: fatal error LNK1561: cannot open E:\ test1.exe to write 1> in VS 20XX MFC; The operation to build project “test1.vcxproj” has completed – failed.
Solution: Change Settings: Linker ->; Advanced – & gt; Change the entry point to WinMainCRTStartup, as shown in Figure 2.
Figure 2
It’s done!! As shown in figure 3
Figure 3
Also, if a LINK: fatal error LNK1168 is reported, as shown in Figure 4
Figure 4.
This usually means that the program that was run last time did not shut down properly.
Indicate that the interface is not related, the program did not exit. Check if the task manager has a process called xx. exe, open the task manager, find the process called xx. exe, and close it. Then recompile the connection.
Read More:
- LINK : fatal error LNK1168: cannot open Debug/1.exe for writing
- Link: fatal error LNK1104: cannot open file “debug”/ xx.exe The question of
- Link: fatal error lnk1123: failure during conversion to coff: file in
- Problems caused by vs project build order: link: fatal error lnk1181: cannot open input file ‘zoom’_ Ui_ style.lib ‘
- LinkIssue: Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- fatal error LNK2019[UNK]fatalerror LNK1120
- LINK : error LNK2001: unresolved external symbol _mainCRTStartup
- fatal error LNK1120: 1 unresolved externals
- How to Fix Fatal Error lnk1120: 1 unresolved externals
- fatal error LNK1169: one or more multiply defined symbols found
- Error 1 fatal error LNK1220: ‘/PGD‘ requires ‘/LTCG:[PGINSTRUMENT|PGOPTIMIZE]‘ specification
- Visual Studio 2010 compilation error fatal error lnk1123: failed during conversion to coff: solution to invalid or corrupt file
- : – 1: error: lnk1168: unable to open xxx.exe for writing
- Ubuntu 18.04 installation of opencv2.4.13 encountered fatal error. Possible solutions
- LNK2001: unresolved external symbol maincrtstartup
- [Solved] error: link.exe‘ failed with exit status 1158
- Error 580 error LNK1104: unable to open file ‘DLL’
- The firmware of the connected j-link does not support the following memory access)