|
-
March 30th, 2009, 11:44 PM
#1
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.
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 my code looks like.
template<>
inline UINT AFXAPI HashKey(CString key)
{
return HashKey((LPCTSTR)key);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|