|
-
April 7th, 1999, 03:26 AM
#1
URGENT - template problem - PLEASE HELP
Throughout my project I use class members of type CMap e.g.:
CMap<CString, LPCSTR, C_ApplicationPart*, C_ApplicationPart*> m_mapApplicationPart;
Until yesterday the compiler accepted these constructions. But suddenly it reports the following error for every CMap type defined:
C:\Program Files\DevStudio\VC\MFC\include\afxtempl.h(1478) : error C2664: 'SetAt' : cannot convert parameter 1 from 'const char *' to 'class CString &'
This is very odd.... I've reversed changes I've made, tried old project/workspace files but nothing seems to work. I created a testproject and this project compiles CMap<CString, LPCSTR, typeVal, typeArg> with no problems!!!!
I also tried deleting all temporary files and precompiled header files but nothing seems to work.
Please, please help!
Martin van den Berg
[email protected]
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
|