Re: Error in CString
- From: DBC User <dbcuser@xxxxxxxxx>
- Date: Wed, 26 Sep 2007 08:26:20 -0700
On Sep 25, 4:00 pm, "AliR \(VC++ MVP\)" <A...@xxxxxxxxxxxxx> wrote:
Quick fix would be to remove the Unicode flag from the project setting. The
real fix (if you want to keep unicode) is to change your char * to TCHAR *.
AliR.
"DBC User" <dbcu...@xxxxxxxxx> wrote in message
news:1190750841.097892.62410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a VS2003 C++ project that I converted into VS2005 (automatic)
and I got bunch of error during linking (no errors in compling) with
lib files, as I traced the linked libraries I found out that, some of
that are linked in VC 2.0 and those libs are no longer in use, so I
decided to refactor the project.
So I started the main project (MDC DLL) and started adding the
required C++ and h files in to the project. When I build my basic
project with only main modules I got almost 170 errors with following
description
error C2440: 'type cast' : cannot convert from 'CString' to 'const
char *'
When I compiled my automatic conversion project I didn't get any of
these errors. Could someone tell me am I missing any headers or
anything, if you need more information please let me know.
Thanks.- Hide quoted text -
- Show quoted text -
Thanks a bunch, yes that resolved it.
.
- References:
- Error in CString
- From: DBC User
- Re: Error in CString
- From: AliR \(VC++ MVP\)
- Error in CString
- Prev by Date: Re: CListBox: change to load rows first.
- Next by Date: Re: fopen for a network path file
- Previous by thread: Re: Error in CString
- Next by thread: Re: Error in CString
- Index(es):
Relevant Pages
|