Re: Copying a file
Posted: Sun Sep 05, 2021 8:28 am
hi,
can you copy File with Explorer to USB-Stick
( do NOT use "send to" ! )
if yes you might have a look at ShFileOperation() which "is" the "copy" Part of Explorer
https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa
have a look at x:\fwh\samples\dlgfile.prg
can you copy File with Explorer to USB-Stick

if yes you might have a look at ShFileOperation() which "is" the "copy" Part of Explorer
https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa
have a look at x:\fwh\samples\dlgfile.prg