Re: Problems with CString (Conversion from VC6 to VC2005)
- From: "Rail Jon Rogut" <railro@xxxxxxxxxxxxx>
- Date: Sat, 28 Jan 2006 08:09:00 GMT
Compare your stdafx.h file to the stdafx.h created by a new project in
VC2005
Rail
--
Recording Engineer/Software Developer
Rail Jon Rogut Software
http://www.railjonrogut.com
mailto:rail@xxxxxxxxxxxxxxxx
"Matthias Meier" <ichwarteaufmail@xxxxxxxx> wrote in message
news:1138376386.641366.270770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> I have converted a project from VC6.0 to VC2005 (MFC). Now I have a
> compiling problem. Following error:
>
> error C2079: 'myString' uses undefined class 'CString'.
>
> CString should now be a template in place of a class.
>
> By another project theres is a forward declaration of 'class CString'.
> I get the following message:
>
> error C2371: 'CString' : redefinition; different basic types
>
> Thats an indication for the template, but what do I have to do to
> compile my project again.
>
> Regards,
>
> Matthias
>
.
- References:
- Problems with CString (Conversion from VC6 to VC2005)
- From: Matthias Meier
- Problems with CString (Conversion from VC6 to VC2005)
- Prev by Date: Binary File Reader
- Next by Date: Please use wxWidgets
- Previous by thread: Re: Problems with CString (Conversion from VC6 to VC2005)
- Next by thread: Re: Preventing immediate exit of MFC app
- Index(es):