Q: I am trying to rebuild my MFC application for CE.NET in eVC4, but I get the error message: "unresolved external symbol WinMain referenced in function WinMainCRTStartup" It compiled with eVC3. What changed?
When converting from MFC 3 to 4, you'll need to change the entry point for the application from WinMainCRTStartup to wWinMainCRTStartup. You can do this to your project in eVC4 as follows:
Project -> Settings -> Settings for: All Configurations -> Link tab -> Category: Output -> Entry-point symbol: wWinMainCRTStartup