Click here to Skip to main content
15,895,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error in strcpy Pin
khan++20-Dec-05 3:12
khan++20-Dec-05 3:12 
AnswerRe: Error in strcpy Pin
Ted Ferenc20-Dec-05 3:15
Ted Ferenc20-Dec-05 3:15 
AnswerRe: Error in strcpy Pin
RChin20-Dec-05 3:17
RChin20-Dec-05 3:17 
AnswerRe: Error in strcpy Pin
toxcct20-Dec-05 3:22
toxcct20-Dec-05 3:22 
GeneralRe: Error in strcpy Pin
vikas amin20-Dec-05 3:29
vikas amin20-Dec-05 3:29 
GeneralRe: Error in strcpy Pin
Smith#20-Dec-05 3:40
Smith#20-Dec-05 3:40 
AnswerRe: Error in strcpy Pin
Bob Stanneveld20-Dec-05 3:38
Bob Stanneveld20-Dec-05 3:38 
AnswerRe: Error in strcpy Pin
Blake Miller20-Dec-05 4:22
Blake Miller20-Dec-05 4:22 
Hey. If m_FileName happens to be a CString, then just do this instead:
mFileName = FileName
instead of using anything like strcpy.

You are LUCKY you got the access violation now and not 10 months from now with 10 million copies of your app in the field WTF | :WTF:


No shirt, no shoes, no brains, no service.
GeneralRe: Error in strcpy Pin
toxcct20-Dec-05 4:35
toxcct20-Dec-05 4:35 
GeneralRe: Error in strcpy Pin
Blake Miller20-Dec-05 4:39
Blake Miller20-Dec-05 4:39 
AnswerRe: Error in strcpy Pin
John M. Drescher20-Dec-05 6:50
John M. Drescher20-Dec-05 6:50 
QuestionRe: Error in strcpy Pin
David Crow20-Dec-05 10:29
David Crow20-Dec-05 10:29 
AnswerRe: Error in strcpy Pin
ThatsAlok20-Dec-05 18:19
ThatsAlok20-Dec-05 18:19 
QuestionInitializing Structure in a class Pin
vikas amin20-Dec-05 2:45
vikas amin20-Dec-05 2:45 
AnswerRe: Initializing Structure in a class Pin
Russell'20-Dec-05 2:55
Russell'20-Dec-05 2:55 
GeneralRe: Initializing Structure in a class Pin
toxcct20-Dec-05 3:02
toxcct20-Dec-05 3:02 
GeneralRe: Initializing Structure in a class Pin
vikas amin20-Dec-05 3:09
vikas amin20-Dec-05 3:09 
GeneralRe: Initializing Structure in a class Pin
toxcct20-Dec-05 3:13
toxcct20-Dec-05 3:13 
GeneralRe: Initializing Structure in a class Pin
Russell'20-Dec-05 3:20
Russell'20-Dec-05 3:20 
GeneralRe: Initializing Structure in a class Pin
Blake Miller20-Dec-05 4:26
Blake Miller20-Dec-05 4:26 
GeneralRe: Initializing Structure in a class Pin
Russell'20-Dec-05 4:37
Russell'20-Dec-05 4:37 
QuestionImplementing Doc/View/Frame in an ActiveX control Pin
zulat20-Dec-05 2:21
zulat20-Dec-05 2:21 
Questionchanging background color of messagebox windows,menu Pin
_kane_20-Dec-05 1:17
_kane_20-Dec-05 1:17 
Questionbitmapped title/caption bar in MFC Pin
_kane_20-Dec-05 1:08
_kane_20-Dec-05 1:08 
AnswerRe: bitmapped title/caption bar in MFC Pin
_kane_20-Dec-05 1:28
_kane_20-Dec-05 1:28 

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.