Did it actually work on your system?
On my system it compiles, links and run like a charm... (see picture)
It is a default installation, no changes. The msvcrt.lib I use is the 100 that loads MSVCR100.dll in runtime.
I put msvcrt.lib as first library in the linker list and still get error:
POLINK: error: Symbol '___argv' is multiply defined: 'crt.lib(_crt0dat.obj)' and 'msvcrt.lib(msvcrt.dll)'.
POLINK: error: Symbol '___argc' is multiply defined: 'crt.lib(_crt0dat.obj)' and 'msvcrt.lib(msvcrt.dll)'.
Then I added switch -Zl to omit the default libraries in object files and got error:
POLINK: error: Unresolved external symbol '__WinMainCRTStartup'.
Your problem is clearly due to the fact that the linker use both msvcrt and pocrt libraries together in the first case so you get the multiple definition.
In the second case, omitting the default libraries, pocrt is not loaded anymore, but somewhere you reference the symbol '__WinMainCRTStartup' that is in no library.
Really strange, difficult to say what is the problem.
The cause of the problem could be so subtle that is very difficult to identify.
I asked you to use the project that I published, unzip it in a folder, double click the 'Alarm.prj' in that directory then compile and run it as is. I'm not sure that you have done so, if you still just look the configuration of my project and try to adapt yours, maybe we'll never solve the problem. This because if in your project there are other switch set or missing, or it includes other modules or libraries compiled differently I can't test and nor even know.
If you have used *just* my project maybe the msvcrt.lib is not correct. Download a version 100 or newer.
I attach also a simplified version that is just a windows compile and doesn't use iupstub.lib.
If someone eslse want compile the sample is welcome.