LINK : error LNK2001: unresolved external symbol WinMain referenced in function #WinMain$exit_thunk (EC Symbol)? (ARM64EC / VS 2022)
Yvan Grabit
1
Reputation point
Hi
Visual C++2022 with ARM64EC as target
wWinMain is defined and linking with Windows as subSystem
=>
linker error:
2>LINK : error LNK2001: unresolved external symbol wWinMain (EC Symbol)
2>MSVCRT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function #WinMain$exit_thunk (EC Symbol)
This works for ARM64 / x86, but not for ARM64EC
Any Idea? a library issue?
Thanks
Yvan