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 29th, 2007, 01:25 AM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ex7_12 Getting a LINK Error

Hmmmm.... I tried the version I copied and then I tried the one for download and I still get the same error...

Ex7_12.obj : error LNK2001: unresolved external symbol "public: static int CBox::objectCount" (?objectCount@CBox@@2HA)
D:\Documents and Settings\Shawn Stovall\My Documents\Visual Studio 2005\Projects\Ex7_12\Debug\Ex7_12.exe : fatal error LNK1120: 1 unresolved externals


 
Old June 29th, 2007, 12:55 PM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

AH! I found what was wrong I forgot to describe CBox::objectCount outside of the class.






Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 14 - Link Error - Unresolved Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 2 March 18th, 2008 06:44 PM
Why does it show Link error 2001? Jams Visual C++ 2 July 10th, 2007 05:15 AM
Raise an Error in dynamic SQL with Link Server bashiiui SQL Server 2000 7 May 2nd, 2007 04:10 AM
Data link error giorgos ADO.NET 4 December 30th, 2004 03:42 PM
Error when changing 'Link Child Fields' property JackNimble Access 3 October 25th, 2004 03:21 PM





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