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++ > Visual C++ 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual C++ 2005 For discussion of Visual C++ 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 30th, 2009, 09:06 AM
Registered User
 
Join Date: Mar 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Migrating from VC++ 6 to VC++ 2005

Hello ,

I am trying to migrate to VC++ 2005 from VC++ 6 and got this error while compiling my code.

Quote:
error C2766: explicit specialization; 'UINT HashKey<CString>(CString)' has already been defined

I was not the original author of the code and starting working with VC++ 2005. Can you please help . Here is what it looks like.

Code:
template<>
inline UINT AFXAPI HashKey(CString key)
{
	return HashKey((LPCTSTR)key);
}
--thanks
Reply With Quote
  #2 (permalink)  
Old November 4th, 2009, 05:13 AM
Authorized User
 
Join Date: Mar 2008
Location: china nantong, HOMETOWN, China.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Redefinition?
__________________
fight now,date in future.
Reply With Quote
Reply


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
How to move the mouse in VC++ 2005 marcelo39 Visual C++ 0 April 25th, 2008 09:36 AM
Learning ActiveX controls in VC++ 2005 kuznickic Visual C++ 2005 0 September 14th, 2007 06:21 AM
my problem with vc++2005 Anahita Visual C++ 2005 0 March 27th, 2007 09:22 AM
Please, need help with VC 2005 express IDE! pghTech Visual C++ 2005 0 June 27th, 2006 06:40 PM
convert VC++ 5.0 project to VC++ 6.0 MIDL ERR mdahd90943 Visual C++ 0 May 26th, 2005 08:57 AM



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


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