Home > Software engineering > VC 6.0 compiler LEX file times wrong error LNK2001: unresolved external symbol _wWinMain @ 16
VC 6.0 compiler LEX file times wrong error LNK2001: unresolved external symbol _wWinMain @ 16
Time:11-09
See online solution: 1. Incorrect Windows subsystem, tip: Libcmtd. Lib (crt0. Obj) : error LNK2001: unresolved external symbol _main Windows program to use subsystem, instead of the Console, it can be set: [the Project] - & gt; [Settings] - & gt; Select the "Link" property page, In the Project Options will be/subsystem: the console to/subsystem: Windows 2. The Console subsystem set error, tip: LIBCD. Lib (wincrt0. Obj) : error LNK2001: unresolved external symbol _WinMain @ 16 Console project to use the Console subsystem, rather than Windows, set: [the Project] - & gt; [Settings] - & gt; Select the "Link" property page, In the Project Options will be/subsystem: Windows to/subsystem: the console
I am error 2 press 1, press 2 to error 1, the presence of Daniel infinite loop
CodePudding user response:
If you were an exe, must have the main or winmain function