phendric

Here's one more error...

When trying to compile a Win32 Smart Device Application (it's an empty console application with an empty "main" function in it), I get the following error:

"error LNK2019: unresolved external symbol wmain referenced in function mainWCRTStartup"

The error occurs in "corelibc.lib"

Can anyone shed light on why this is occurring when the project is almost empty

Thanks,
Phillip


Re: Smart Devices Native C++ Development error with Win32 Smart Device application compiling

Ilya Tumanov

Try 'wmain' instead of 'main'.




Re: Smart Devices Native C++ Development error with Win32 Smart Device application compiling

phendric

Oh doh! That fixed the problem. Thanks.

Phillip