Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > BOOK: Beginning Visual C++ 6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual C++ 6
This is the forum to discuss the Wrox book Beginning Visual C++ 6 by Ivor Horton; ISBN: 9780764543883
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C++ 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 20th, 2004, 03:46 AM
Registered User
 
Join Date: Dec 2004
Location: Campinas, São Paulo, Brazil.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How Compile the First Example ?

Hi Everyone !

I am trying to compile a simple application in Microsoft C++ 6 (the first example from the book), but I receive an output message error:

C1010

A precompiled header was specified, but it did not contain a precompiled header directive.

This error can be caused by specifying an incorrect file as a header file, or by specifying an include file with the /Yu (Use Precompiled Header) command line option that is not listed in the source file as an include file.

What should I do ?

  #2 (permalink)  
Old December 20th, 2004, 10:10 PM
Registered User
 
Join Date: Dec 2004
Location: Campinas, São Paulo, Brazil.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ops !!!!

Sorry !!!

My mistake !

I was trying to compile without Build all together !!!

:D

  #3 (permalink)  
Old January 27th, 2005, 10:23 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried to compiler/linker TrialRun.cpp and.......

--------------------Configuration: TrialRun - Win32 Debug--------------------
Compiling...
TrialRun.cpp
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/TrialRun.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

TrialRun.exe - 2 error(s), 0 warning(s)

Help me ...:(

Thanks for all



  #4 (permalink)  
Old April 8th, 2005, 10:44 AM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

KAZTYX, I just replied to your own thread regarding this same problem - please read about the solution there. I am not sure why no one has replied to your posts, yet, since it has been a while since you've posted, and this is a very common mistake for beginners, which is who the book is written for...

Jason Doucette
http://www.jasondoucette.com/
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compile aspb ASP.NET 2.0 Professional 1 September 12th, 2006 10:22 AM
compile aspb ASP.NET 2.0 Basics 0 September 8th, 2006 10:27 AM
Compile Louisa VB.NET 2002/2003 Basics 1 November 23rd, 2005 10:14 AM
C# compile biran Visual Studio 2005 1 July 15th, 2005 01:36 PM
Compile Bug jaucourt VB.NET 2002/2003 Basics 2 March 15th, 2004 04:47 PM



All times are GMT -4. The time now is 08:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.