I have a sub that is copying files using CopyFile(PChar(source), PChar(dest), False) (Windows unit).
The sub is copying a lot of files so I want to convert it so it is another thread so the user is able to stop it in any moment. Can someone help me with this?
I'd like to mention that I wouldn't want to use any other procedure that isn't similar to CopyFile, like SHFileOperation for example (it's displaying the dialog with the flying files...)
Big thanks as ever to you guys. Regards, firstname.lastname@example.org