Click here to Skip to main content
15,930,792 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 3:21
Software_Specialist8-Jun-07 3:21 
GeneralRe: error C2664 in MFC..? Pin
David Crow8-Jun-07 3:24
David Crow8-Jun-07 3:24 
GeneralRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 3:30
Software_Specialist8-Jun-07 3:30 
QuestionRe: error C2664 in MFC..? Pin
David Crow8-Jun-07 3:37
David Crow8-Jun-07 3:37 
AnswerRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 3:42
Software_Specialist8-Jun-07 3:42 
GeneralRe: error C2664 in MFC..? Pin
David Crow8-Jun-07 3:49
David Crow8-Jun-07 3:49 
GeneralRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 4:01
Software_Specialist8-Jun-07 4:01 
QuestionRe: error C2664 in MFC..? Pin
David Crow8-Jun-07 4:12
David Crow8-Jun-07 4:12 
Software_Specialist wrote:
CString strFilter;
const TCHAR *strSource= _T("All Files (*.*)|*.*||");
_tcscpy_s(strFilter, strSource);


Confused | :confused: How is this not generating a compiler error? I would have expected it to be:

_tcscpy_s(strFilter.GetBuffer(128), strSource);
In any case, why would you want to use _tcscpy_s() with a CString object? That makes no sense.


"A good athlete is the result of a good and worthy opponent." - David Crow

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


AnswerRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 4:18
Software_Specialist8-Jun-07 4:18 
QuestionRe: error C2664 in MFC..? Pin
David Crow8-Jun-07 4:26
David Crow8-Jun-07 4:26 
AnswerRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 4:47
Software_Specialist8-Jun-07 4:47 
GeneralRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 3:38
Software_Specialist8-Jun-07 3:38 
AnswerRe: error C2664 in MFC..? Pin
Rajkumar R8-Jun-07 3:41
Rajkumar R8-Jun-07 3:41 
GeneralRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 3:49
Software_Specialist8-Jun-07 3:49 
Questionshowing countdown when AddTimer() is working Pin
neha.agarwal278-Jun-07 1:01
neha.agarwal278-Jun-07 1:01 
QuestionRe: showing countdown when AddTimer() is working Pin
Clebson Derivan8-Jun-07 1:25
Clebson Derivan8-Jun-07 1:25 
AnswerRe: showing countdown when AddTimer() is working Pin
neha.agarwal278-Jun-07 1:34
neha.agarwal278-Jun-07 1:34 
GeneralRe: showing countdown when AddTimer() is working Pin
Clebson Derivan8-Jun-07 2:13
Clebson Derivan8-Jun-07 2:13 
GeneralRe: showing countdown when AddTimer() is working Pin
neha.agarwal278-Jun-07 2:51
neha.agarwal278-Jun-07 2:51 
GeneralRe: showing countdown when AddTimer() is working Pin
David Crow8-Jun-07 3:02
David Crow8-Jun-07 3:02 
GeneralRe: showing countdown when AddTimer() is working Pin
Clebson Derivan8-Jun-07 3:14
Clebson Derivan8-Jun-07 3:14 
GeneralRe: showing countdown when AddTimer() is working Pin
pierre_ribery8-Jun-07 11:38
pierre_ribery8-Jun-07 11:38 
QuestionDEBUG mode ERROR Pin
vivekphlp8-Jun-07 0:56
vivekphlp8-Jun-07 0:56 
QuestionRe: DEBUG mode ERROR Pin
prasad_som8-Jun-07 2:40
prasad_som8-Jun-07 2:40 
QuestionRe: DEBUG mode ERROR Pin
David Crow8-Jun-07 2:53
David Crow8-Jun-07 2:53 

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.