C++ Question error LNK1120

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
670
Reaction score
89
Points
43
Location
Happy Wherever
Anyone help with this please - been trying to solve for hours.
I know could be dozens of things but just a most likely pointer would be helpful.
Think I'm blinded by the light, thanks.

1>MSVCRT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ)
1>D:\Open Orbiter Latest x86\Modules\JMW\K-Mirage2000.dll : fatal error LNK1120: 1 unresolved externals
1>Done building project "Mirage Last.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
========== Rebuild completed at 20:52 and took 04.649 seconds ==========
 
Do you have the project configuration type set to .EXE?
 
Make sure that in the Linker options you have :

'ignore default library : msvcrt.lib; msvcirt.lib'
 
Will be going bed cos it's tomorrow already here, but please keep the suggestions coming.
Sleep well when you do :cheers:
 
Back
Top