Wrox Programmer Forums
|
BOOK: Ivor Horton's Beginning Visual C++ 2005
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2005 by Ivor Horton; ISBN: 9780764571978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2005 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 June 25th, 2006, 01:13 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ex9_16 Compile Problem

Hi
I'm trying to work through Ex9_16. I think the problem is in GlassBox.h
#include "Box.h"
This file is not found because it is not there. I finally downloaded the code but it seems to have the same problem as what I typed from the book.

By the way removing #include "Box.h" solves the file not found problem but I had to add a path to the properties page of Ex9_16 to get the program to compile
Doug
 
Old July 9th, 2006, 04:21 AM
Authorized User
 
Join Date: May 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I too had problems around EX9_16lib.dll. finally resolved it by putting a copy of EX9_16lib.dll in both the source folder and the debug folder. The debug folder gave a problem, as I have two. I am using Visual Studio 2005 in its default state. Hence it appears to create a hierarchy of project files. For example: If I create a new project EX9_16, I get:
-EX9_16
   EX9_16

Once I start debugging, I get:
-EX9_16
   -EX9_16
       Debug

and once compiled (I think; maybe earlier)
-EX9_16
    Debug
    -EX9_16
        Debug

My initial problems came about by putting the dll in the third level down debug; wrong one. I needed it in the second level debug, where the exe is -and a copy in the second level down EX9_16 folder in order to compile.

(The hierarchy maybe a problem of my own making; perhaps I will find out as I proceed.)

I hope that this helps others.

(Edit later: I think my directory confusion comes about because the top level is the solution folder and the second level, above, is the project folder. Confusion arises as both have the same names.)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem wrox-pix-web marshad77 BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 July 1st, 2008 11:01 AM
Chapter 18 code compile problem warlock7 BOOK: Ivor Horton's Beginning Visual C++ 2005 8 January 3rd, 2008 10:04 AM
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
How Compile the First Example ? AlexPerusso BOOK: Beginning Visual C++ 6 3 April 8th, 2005 10:44 AM





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