Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Display Modes
  #1 (permalink)  
Old January 1st, 2008, 03:35 AM
Authorized User
 
Join Date: Oct 2005
Location: Gateshead, Tyne and Wear, United Kingdom.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Linker Error, Chapter 18

I'm trying to build the Sketcher application with a dll, as set out in Chapter 18 up to page 915. I get a linker error when I try to build it. Does anyone know where to look for the error? The error listing is below.

Linking...
SketcherView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CText::CText(class CPoint,class CPoint,class ATL::CStringT > >,unsigned long)" (__imp_??0CText@@QAE@VCPoint@@0V?$CStringT@DV?$Str TraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@K@Z) referenced in function "public: void __thiscall CSketcherView::OnLButtonDown(unsigned int,class CPoint)" (?OnLButtonDown@CSketcherView@@QAEXIVCPoint@@@Z)
C:\Documents and Settings\Danny Crossley\My Documents\Visual Studio 2005\Projects\Ivor\Practice\Sketcher\Debug\Sketche r.exe : fatal error LNK1120: 1 unresolved externals


Dan Crossley
__________________
Dan Crossley
  #2 (permalink)  
Old January 1st, 2008, 05:38 AM
Authorized User
 
Join Date: Oct 2005
Location: Gateshead, Tyne and Wear, United Kingdom.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does anyone have the solution to the Chapter 18 DLL version of Sketcher. Mine just won't build and I can't figure out why. I've even replaced my code with his but I get even more errors then.

Dan Crossley
  #3 (permalink)  
Old January 5th, 2008, 11:36 PM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having the same *"!@@*$##!* problem and getting frustrated! I see that this has been a thread for a long time on Google and I can't find any resolutions. Maybe Mr. Horton could shed some light on this? It's a very well written book (Vc++ 6.0) but this has stopped my progress.

Scott (shingabiss)

  #4 (permalink)  
Old February 19th, 2008, 06:02 PM
Registered User
 
Join Date: Oct 2006
Location: , , Chile.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you can send me the project in .zip I will try to help you solve this issue.
e-mail: Nad__Af@hotmail.com

Nad
  #5 (permalink)  
Old February 20th, 2008, 04:04 AM
Authorized User
 
Join Date: Oct 2005
Location: Gateshead, Tyne and Wear, United Kingdom.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is a Unicode problem. It has already been answered. Thanks to dan6.
See http://p2p.wrox.com/topic.asp?TOPIC_ID=55090

Dan Crossley
 


Thread Tools
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
Linker Error when buidling Sketcher - Chapter 14 Spasticus BOOK: Ivor Horton's Beginning Visual C++ 2005 6 January 11th, 2008 02:52 AM
Linker error.help s_srivi1 Access VBA 4 November 12th, 2007 01:54 AM
Compiler linker error raja_welcomes Visual C++ 1 June 6th, 2007 11:17 AM
linker error smukher Visual C++ 2 July 2nd, 2003 06:10 PM



All times are GMT -4. The time now is 07:07 AM.


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