Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dialog question Pin
act_x29-Apr-02 10:33
act_x29-Apr-02 10:33 
GeneralRe: dialog question Pin
Nish Nishant29-Apr-02 14:17
sitebuilderNish Nishant29-Apr-02 14:17 
Generaledit box variable Pin
Rajveer29-Apr-02 8:00
Rajveer29-Apr-02 8:00 
GeneralRe: edit box variable Pin
Swinefeaster30-Apr-02 1:13
Swinefeaster30-Apr-02 1:13 
GeneralC++ numerical conversion Pin
Jim Crafton29-Apr-02 7:45
Jim Crafton29-Apr-02 7:45 
GeneralRe: C++ numerical conversion Pin
Joaquín M López Muñoz29-Apr-02 9:05
Joaquín M López Muñoz29-Apr-02 9:05 
GeneralRe: C++ numerical conversion Pin
Jim Crafton29-Apr-02 10:01
Jim Crafton29-Apr-02 10:01 
GeneralPlease Help Me! - CopyFile Null terminated String Pin
Lucky the code machine29-Apr-02 7:35
Lucky the code machine29-Apr-02 7:35 
Hi,
I am very new to C++ & have again come unstuck!

I am trying to copy a file from a file selected from an open file dialog to a fixed location & name. The from (open dialog etc) works fine but the destination part dose not:

CopyFile(m_File_In, "c:\\osc_out\\logo.*", FALSE);

I guess this is becouse my destination is not 'null terminated'?

I still get problems if i try:

CString m_File_Out;
m_File_Out="c:\\osc_out\\logo.*";
CopyFile(m_File_In, m_File_Out, FALSE);

If this is becouse it is not null terminated how do i do that?

Thanx

An Expert is somone who has previously made ALL the Mistakes, I dream of this day. - Lucky
GeneralRe: Please Help Me! - CopyFile Null terminated String Pin
Paul M Watt29-Apr-02 7:42
mentorPaul M Watt29-Apr-02 7:42 
GeneralRe: Please Help Me! - CopyFile Null terminated String Pin
Lucky the code machine30-Apr-02 0:41
Lucky the code machine30-Apr-02 0:41 
GeneralRe: Please Help Me! - CopyFile Null terminated String Pin
PJ Arends29-Apr-02 10:02
professionalPJ Arends29-Apr-02 10:02 
GeneralRe: Please Help Me! - CopyFile Null terminated String Pin
Lucky the code machine30-Apr-02 0:39
Lucky the code machine30-Apr-02 0:39 
QuestionHorizontal Line? Pin
moobob29-Apr-02 7:27
moobob29-Apr-02 7:27 
AnswerRe: Horizontal Line? Pin
Paul M Watt29-Apr-02 7:36
mentorPaul M Watt29-Apr-02 7:36 
GeneralRe: Horizontal Line? Pin
moobob29-Apr-02 7:49
moobob29-Apr-02 7:49 
GeneralRe: Horizontal Line? Pin
PJ Arends29-Apr-02 9:58
professionalPJ Arends29-Apr-02 9:58 
GeneralCreate view in a CTabCtrl Pin
DrZOO29-Apr-02 7:21
DrZOO29-Apr-02 7:21 
GeneralRe: Create view in a CTabCtrl Pin
rbc15-May-02 18:59
rbc15-May-02 18:59 
GeneralRe: Create view in a CTabCtrl Pin
DrZOO16-May-02 1:26
DrZOO16-May-02 1:26 
Generalnew dialog class Pin
tordyvel29-Apr-02 6:07
tordyvel29-Apr-02 6:07 
GeneralRe: new dialog class Pin
l a u r e n29-Apr-02 6:20
l a u r e n29-Apr-02 6:20 
GeneralRe: new dialog class Pin
Nish Nishant29-Apr-02 6:40
sitebuilderNish Nishant29-Apr-02 6:40 
GeneralRe: new dialog class Pin
tordyvel29-Apr-02 6:48
tordyvel29-Apr-02 6:48 
GeneralRe: new dialog class Pin
Nish Nishant29-Apr-02 6:56
sitebuilderNish Nishant29-Apr-02 6:56 
GeneralType Cast! Pin
hph29-Apr-02 5:45
hph29-Apr-02 5:45 

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.