Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ 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 August 27th, 2006, 02:25 AM
Registered User
 
Join Date: May 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Avihay
Default Template linking problams...

Hello, I have a cpp and an header which implement a memory pool using template. The class definition is on the .h file, and the class implementation is in the .cpp file. When I compile it, everything's file, but when I try to build the solution, I get lnk2019 (unresolved symbols) for every method of the class. When I move it all to the .h file, I have no problems with the build...

anyone?

Thanks

 
Old August 27th, 2006, 04:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

Did you include the header file in the cpp file?
Post the initial code of both your hearder file and you Cpp file.

Regards
Ankur





Similar Threads
Thread Thread Starter Forum Replies Last Post
linking anukagni Access 1 March 28th, 2006 08:21 AM
calling one template in other template VijayKumar XSLT 3 September 15th, 2005 11:12 AM
Linking to backend Clive Astley Access VBA 6 April 1st, 2004 01:35 PM
RE: Linking sherr8 SQL Server 2000 2 July 30th, 2003 02:29 PM
Linking sherr8 Access 2 July 30th, 2003 02:29 PM





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