Click here to Skip to main content
15,900,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionstrcpy - Doing something wrong ?? Pin
Programm3r20-Apr-07 4:12
Programm3r20-Apr-07 4:12 
AnswerRe: strcpy - Doing something wrong ?? Pin
Programm3r20-Apr-07 4:17
Programm3r20-Apr-07 4:17 
GeneralRe: strcpy - Doing something wrong ?? Pin
Mark Salsbery20-Apr-07 7:43
Mark Salsbery20-Apr-07 7:43 
AnswerRe: strcpy - Doing something wrong ?? Pin
Michael Dunn20-Apr-07 7:01
sitebuilderMichael Dunn20-Apr-07 7:01 
AnswerRe: strcpy - Doing something wrong ?? Pin
krmed20-Apr-07 10:10
krmed20-Apr-07 10:10 
GeneralRe: strcpy - Doing something wrong ?? Pin
Mark Salsbery20-Apr-07 10:26
Mark Salsbery20-Apr-07 10:26 
GeneralRe: strcpy - Doing something wrong ?? Pin
krmed20-Apr-07 10:29
krmed20-Apr-07 10:29 
GeneralRe: strcpy - Doing something wrong ?? Pin
Michael Dunn20-Apr-07 16:39
sitebuilderMichael Dunn20-Apr-07 16:39 
There is no need for those casts. Incorrect casts mask errors, and this was the case in the OP's original code. He probably threw in casts to "fix the compiler errors" and ended up with non-functional code.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

Ford, what's this fish doing in my ear?

GeneralRe: strcpy - Doing something wrong ?? Pin
krmed21-Apr-07 3:47
krmed21-Apr-07 3:47 
QuestionCView::OnNCPaint Pin
bob1697220-Apr-07 3:58
bob1697220-Apr-07 3:58 
AnswerRe: CView::OnNCPaint Pin
Michael Dunn20-Apr-07 7:05
sitebuilderMichael Dunn20-Apr-07 7:05 
GeneralRe: CView::OnNCPaint Pin
bob1697220-Apr-07 7:29
bob1697220-Apr-07 7:29 
QuestionTerminate Process Question Pin
Programm3r20-Apr-07 2:51
Programm3r20-Apr-07 2:51 
AnswerRe: Terminate Process Question Pin
toxcct20-Apr-07 3:13
toxcct20-Apr-07 3:13 
GeneralRe: Terminate Process Question Pin
Programm3r20-Apr-07 3:17
Programm3r20-Apr-07 3:17 
AnswerRe: Terminate Process Question Pin
Programm3r20-Apr-07 3:24
Programm3r20-Apr-07 3:24 
GeneralRe: Terminate Process Question Pin
toxcct20-Apr-07 3:32
toxcct20-Apr-07 3:32 
AnswerRe: Terminate Process Question Pin
Michael Dunn20-Apr-07 7:06
sitebuilderMichael Dunn20-Apr-07 7:06 
QuestionHow to subclass a Button on a MessageBox ? [modified] Pin
sdhexu20-Apr-07 2:37
sdhexu20-Apr-07 2:37 
AnswerRe: How to subclass a Button on a MessageBox ? Pin
ThatsAlok20-Apr-07 21:32
ThatsAlok20-Apr-07 21:32 
QuestionHow to change font of ToolTip control in VC++ 6.0? Pin
Atul2320-Apr-07 2:00
Atul2320-Apr-07 2:00 
AnswerRe: How to change font of ToolTip control in VC++ 6.0? Pin
Hamid_RT20-Apr-07 19:36
Hamid_RT20-Apr-07 19:36 
QuestionUsing Virtual lists? Pin
bosfan20-Apr-07 1:36
bosfan20-Apr-07 1:36 
QuestionRe: Using Virtual lists? Pin
Maximilien20-Apr-07 3:03
Maximilien20-Apr-07 3:03 
AnswerRe: Using Virtual lists? Pin
bosfan20-Apr-07 3:14
bosfan20-Apr-07 3:14 

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.