I hope this will help you
Serge
"Duygu Isik" <jo...@dos.ac> a écrit dans le message news:
d08401c21389$00b08190$a4e62ecf@tkmsftngxa06...
Since you are only copying the file it doesn't matter that it is a
jpeg file! Just open the file for read, create a new file on the
destination and read the old and write the new. NB! remeber to open
the file as a binary file.
or you can use the windows api
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
);
// Anders