Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProgramming with templates Pin
Steve Thresher14-May-03 21:48
Steve Thresher14-May-03 21:48 
GeneralRe: Programming with templates Pin
jhwurmbach14-May-03 22:22
jhwurmbach14-May-03 22:22 
GeneralRe: Programming with templates Pin
Steve Thresher14-May-03 23:00
Steve Thresher14-May-03 23:00 
GeneralRe: Programming with templates Pin
jhwurmbach14-May-03 23:09
jhwurmbach14-May-03 23:09 
GeneralShellExecute Pin
Bonnie214-May-03 21:38
Bonnie214-May-03 21:38 
GeneralRe: ShellExecute Pin
Johnny ²14-May-03 21:43
Johnny ²14-May-03 21:43 
GeneralRe: ShellExecute Pin
Bonnie214-May-03 22:05
Bonnie214-May-03 22:05 
GeneralRe: ShellExecute Pin
Rage14-May-03 22:12
professionalRage14-May-03 22:12 
MSDN :
BOOL CopyFile(
  LPCTSTR lpExistingFileName,
                          // pointer to name of an existing file
  LPCTSTR lpNewFileName,  // pointer to filename to copy to
  BOOL bFailIfExists      // flag for operation if file exists
);


Parameters

lpExistingFileName
Pointer to a null-terminated string that specifies the name of an existing file.

lpNewFileName
Pointer to a null-terminated string that specifies the name of the new file.

bFailIfExists
Specifies how this operation is to proceed if a file of the same name as that specified by lpNewFileName already exists. If this parameter is TRUE and the new file already exists, the function fails. If this parameter is FALSE and the new file already exists, the function overwrites the existing file and succeeds.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

I'm quite sure this will be in VC7++ also Poke tongue | ;-P

~RaGE();
Generalwindow handle Pin
r i s h a b h s14-May-03 20:55
r i s h a b h s14-May-03 20:55 
GeneralRe: window handle Pin
Rage14-May-03 22:22
professionalRage14-May-03 22:22 
GeneralRe: window handle Pin
Renjith Ramachandran15-May-03 4:59
Renjith Ramachandran15-May-03 4:59 
GeneralUpdating Main Menu Pin
Member 45833214-May-03 20:37
Member 45833214-May-03 20:37 
GeneralRe: Updating Main Menu Pin
Roger Allen15-May-03 5:32
Roger Allen15-May-03 5:32 
GeneralBuilding for Win98 from XP Pin
Jo Fredrickson14-May-03 18:45
Jo Fredrickson14-May-03 18:45 
GeneralRe: Building for Win98 from XP Pin
Bartosz Bien14-May-03 19:55
Bartosz Bien14-May-03 19:55 
GeneralRe: Building for Win98 from XP Pin
Joan M14-May-03 21:07
professionalJoan M14-May-03 21:07 
GeneralRe: Building for Win98 from XP Pin
Jo Fredrickson15-May-03 4:26
Jo Fredrickson15-May-03 4:26 
Generalproblem in SHFileOperation Pin
roboo14-May-03 16:07
roboo14-May-03 16:07 
GeneralRe: problem in SHFileOperation Pin
valikac14-May-03 19:53
valikac14-May-03 19:53 
Generalfreshman Pin
linex14-May-03 13:33
linex14-May-03 13:33 
GeneralRe: freshman Pin
John R. Shaw14-May-03 13:51
John R. Shaw14-May-03 13:51 
GeneralRe: freshman Pin
Nitron14-May-03 14:22
Nitron14-May-03 14:22 
GeneralRe: freshman Pin
Gary Kirkham14-May-03 14:43
Gary Kirkham14-May-03 14:43 
GeneralRe: freshman Pin
linex15-May-03 0:46
linex15-May-03 0:46 
GeneralOS detection Pin
elisap14-May-03 13:11
elisap14-May-03 13:11 

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.