Wrox Programmer Forums
|
BOOK: Beginning Visual C# 2010
This is the forum to discuss the Wrox book Beginning Visual C# 2010 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, ; ISBN: 9780470502266
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 20th, 2012, 08:02 PM
Registered User
 
Join Date: Jan 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2 build errors

I'am using 2010 Visual professional, Changed Charactor set to not set, Microsoft says LNK1120 error fixed with Linker in project properties -that did not fix it, Microsoft also says it is not supporting this old code so I am going to move on. if some one has a fix like to see it thanks.
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>C:\Users\Dan\Documents\Visual Studio 2010\Projects\EX2_01b\Debug\EX2_01b.exe : fatal error LNK1120: 1 unresolved externals
 
Old January 21st, 2012, 09:26 AM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default Chapter 2 build errors

Quote:
Originally Posted by janitor View Post
I'am using 2010 Visual professional, Changed Charactor set to not set, Microsoft says LNK1120 error fixed with Linker in project properties -that did not fix it, Microsoft also says it is not supporting this old code so I am going to move on. if some one has a fix like to see it thanks.
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>C:\Users\Dan\Documents\Visual Studio 2010\Projects\EX2_01b\Debug\EX2_01b.exe : fatal error LNK1120: 1 unresolved externals
Sorry, I don't understand your issues, let me summarize:
- you have build errors with chapter 2 code from the Beginning Visual C# 2010 book
- Microsoft says it's not supporting this old code???
- you are using the C++ compiler to compile the C# code?
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel





Similar Threads
Thread Thread Starter Forum Replies Last Post
Build errors Wilfredo Rosado BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 January 3rd, 2010 05:46 PM
Weird Build Errors Aaron Edwards ASP.NET 2.0 Basics 1 November 2nd, 2007 03:04 AM
Build Errors..Not Sure What to Do?? jazzcatone ASP.NET 2.0 Basics 2 March 8th, 2007 02:24 PM
VC++ Build Errors, Help!!!!!!!!! gothicpurple Visual C++ 0 August 29th, 2006 06:35 PM
Please Help! Build errors motsam BOOK: ASP.NET Website Programming Problem-Design-Solution 2 February 29th, 2004 10:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.