All Forums
 Microsoft Windows CE
 eVC Application Development
 Linker: "Unresolved external" (MFC 3->4)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

akidder

1519 Posts

Posted - 11 Nov 2003 :  10:24:11  Show Profile  Email Poster
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
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000