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
- Run Red Alert and other old games under Win10…
- Configuring C + + environment with atom under ubuntu1404
- Solutions to ADB failed to start daemon
- Browser performance tool
- The Excel connection manager is not supported in the 64-bit version of SSIS [Switch]
- no target device found problem solved
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- Three solutions to flash back of program running result box under vs
- Another installation will pop up when Windows installs the application inprogress.you must complete that installation before continu
- OpenGL environment configuration under VS2010 / vs2012 / vs2015
- Link: fatal error LNK1104: cannot open file “debug”/ xx.exe The question of
- Failed to resolve: com.android.support:appcompat-v7:27.
- How to generate main () method in java graphical interface
- You must restart ADB and eclipse
- @How to solve eclipse error after setter and @ getter (@ data) annotation
- Solution to the error code of 0x80040154 in COM / ole call
- Solution to the flash of visual studio 2017 running program
- LinkIssue: Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor