I'm writting a File Manager program in MASM assembler.
Everthing is looking fairly good, I have a tree view and two
list views and a toolbar with the volume icons. I can change
the display to a tree view and one list view or just two list views.
The problem is I would like to copy files or folders from one
list view to the other. I can do it by using readfile and writefile,
but I would like to use the CopyFile function. When I try to use
it I get an access denied error. I've changed the source file to
read only access, but it still didn't work.
Do I need to do a CreateFile?
My command is:
INVOKE CopyFile, addr InFile, addr OutFile, FALSE
The source and destination paths look ok.