Click here to Skip to main content
15,886,519 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IOCP server Pin
Mark Salsbery28-Nov-07 6:08
Mark Salsbery28-Nov-07 6:08 
AnswerRe: IOCP server Pin
Mark Salsbery28-Nov-07 5:26
Mark Salsbery28-Nov-07 5:26 
AnswerRe: IOCP server Pin
Mike Dimmick28-Nov-07 5:43
Mike Dimmick28-Nov-07 5:43 
QuestionLPBITMAPINFOHEADER Pin
keyto28-Nov-07 0:49
keyto28-Nov-07 0:49 
AnswerRe: LPBITMAPINFOHEADER Pin
CPallini28-Nov-07 0:57
mveCPallini28-Nov-07 0:57 
AnswerRe: LPBITMAPINFOHEADER Pin
David Crow28-Nov-07 3:03
David Crow28-Nov-07 3:03 
QuestionHow to use VC++ Unit Test project to test C++ project Pin
lchild38528-Nov-07 0:09
lchild38528-Nov-07 0:09 
QuestionVC 2005 compiler error Pin
neha.agarwal2728-Nov-07 0:01
neha.agarwal2728-Nov-07 0:01 
Hi all,

LPCSTR data;
CString m_FName;
CString strFName = m_FName + data;


When i write this piece of code it works fine in vc++ 6.0 compiler. But when i write this in VC 2005 it gives error:-

" error C2679: binary '+' : no operator found which takes a right-hand operand of type 'LPCSTR' (or there is no acceptable conversion)"

How to resolve this....

Thanks in advance........
AnswerRe: VC 2005 compiler error Pin
toxcct28-Nov-07 0:21
toxcct28-Nov-07 0:21 
GeneralRe: VC 2005 compiler error Pin
neha.agarwal2728-Nov-07 0:31
neha.agarwal2728-Nov-07 0:31 
GeneralRe: VC 2005 compiler error Pin
CPallini28-Nov-07 0:45
mveCPallini28-Nov-07 0:45 
GeneralRe: VC 2005 compiler error Pin
neha.agarwal2728-Nov-07 1:00
neha.agarwal2728-Nov-07 1:00 
GeneralRe: VC 2005 compiler error Pin
David Crow29-Nov-07 2:45
David Crow29-Nov-07 2:45 
GeneralI know... Pin
CPallini29-Nov-07 3:07
mveCPallini29-Nov-07 3:07 
GeneralRe: VC 2005 compiler error Pin
toxcct28-Nov-07 1:34
toxcct28-Nov-07 1:34 
GeneralRe: VC 2005 compiler error Pin
neha.agarwal2728-Nov-07 1:38
neha.agarwal2728-Nov-07 1:38 
GeneralRe: VC 2005 compiler error Pin
toxcct28-Nov-07 1:40
toxcct28-Nov-07 1:40 
GeneralRe: VC 2005 compiler error Pin
Cedric Moonen28-Nov-07 1:47
Cedric Moonen28-Nov-07 1:47 
GeneralRe: VC 2005 compiler error Pin
neha.agarwal2728-Nov-07 17:36
neha.agarwal2728-Nov-07 17:36 
GeneralRe: VC 2005 compiler error Pin
David Crow29-Nov-07 2:51
David Crow29-Nov-07 2:51 
QuestionHelp with a couple of C questions Pin
3alawii27-Nov-07 23:57
3alawii27-Nov-07 23:57 
AnswerRe: Help with a couple of C questions Pin
manish.patel28-Nov-07 1:31
manish.patel28-Nov-07 1:31 
AnswerRe: Help with a couple of C questions Pin
manish.patel28-Nov-07 1:36
manish.patel28-Nov-07 1:36 
AnswerRe: Help with a couple of C questions Pin
David Crow28-Nov-07 3:26
David Crow28-Nov-07 3:26 
AnswerRe: Help with a couple of C questions Pin
BadKarma28-Nov-07 3:36
BadKarma28-Nov-07 3:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.