Click here to Skip to main content
15,880,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Java vs. C++ Pin
jhwurmbach18-Sep-07 8:31
jhwurmbach18-Sep-07 8:31 
GeneralRe: Java vs. C++ Pin
El Corazon18-Sep-07 9:01
El Corazon18-Sep-07 9:01 
AnswerRe: Java vs. C++ Pin
Mike Dimmick18-Sep-07 4:19
Mike Dimmick18-Sep-07 4:19 
AnswerRe: Java vs. C++ Pin
Nemanja Trifunovic18-Sep-07 4:46
Nemanja Trifunovic18-Sep-07 4:46 
AnswerRe: Java vs. C++ Pin
El Corazon18-Sep-07 5:00
El Corazon18-Sep-07 5:00 
AnswerRe: Java vs. C++ Pin
bob1697218-Sep-07 6:39
bob1697218-Sep-07 6:39 
GeneralRe: Java vs. C++ Pin
jhwurmbach18-Sep-07 8:33
jhwurmbach18-Sep-07 8:33 
QuestionComplier C2664 Error Pin
Andy20218-Sep-07 3:02
Andy20218-Sep-07 3:02 
This is driving me mad.

I just started to get error C2664 for things I have been doing for years!

I have a Edit Box with a control variable m_cRange and a string used for formating data for these Edit boxes for display.

e.g.

CString g_szDisplayStr;<br />
CEdit m_cRange;<br />
double Range;<br />


Both these statements produce the C2664 error.

<br />
g_szDisplayStr.Format("%0.4f", Range);<br />
m_cRange.SetWindowText(g_szDisplayStr);


Have I screwed up by project settings; its MFC C++ Dialog application.

Andy.
QuestionRe: Complier C2664 Error Pin
David Crow18-Sep-07 3:06
David Crow18-Sep-07 3:06 
AnswerRe: Complier C2664 Error Pin
Andy20218-Sep-07 4:11
Andy20218-Sep-07 4:11 
GeneralRe: Complier C2664 Error Pin
David Crow18-Sep-07 4:19
David Crow18-Sep-07 4:19 
GeneralRe: Complier C2664 Error Pin
Andy20218-Sep-07 4:29
Andy20218-Sep-07 4:29 
GeneralRe: Complier C2664 Error Pin
David Crow18-Sep-07 4:34
David Crow18-Sep-07 4:34 
GeneralRe: Complier C2664 Error Pin
Andy20218-Sep-07 4:59
Andy20218-Sep-07 4:59 
QuestionRe: Complier C2664 Error Pin
David Crow18-Sep-07 5:14
David Crow18-Sep-07 5:14 
AnswerRe: Complier C2664 Error Pin
Andy20218-Sep-07 6:10
Andy20218-Sep-07 6:10 
QuestionPrinting Problem Pin
pri_skit18-Sep-07 1:40
pri_skit18-Sep-07 1:40 
QuestionUse MFC in.... Pin
himuskanhere18-Sep-07 1:36
himuskanhere18-Sep-07 1:36 
AnswerRe: Use MFC in.... Pin
nbugalia18-Sep-07 1:41
nbugalia18-Sep-07 1:41 
AnswerRe: Use MFC in.... Pin
Iain Clarke, Warrior Programmer18-Sep-07 1:46
Iain Clarke, Warrior Programmer18-Sep-07 1:46 
GeneralRe: Use MFC in.... Pin
ddspliting18-Sep-07 7:35
ddspliting18-Sep-07 7:35 
Questionconversion from double to float Pin
KASR118-Sep-07 1:10
KASR118-Sep-07 1:10 
AnswerRe: conversion from double to float Pin
Chris Losinger18-Sep-07 1:24
professionalChris Losinger18-Sep-07 1:24 
GeneralRe: conversion from double to float Pin
nbugalia18-Sep-07 2:11
nbugalia18-Sep-07 2:11 
AnswerRe: conversion from double to float Pin
Russell'18-Sep-07 2:17
Russell'18-Sep-07 2:17 

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.