Board index » cppbuilder » Having problems copying files using CopyFile or CopyFileEx
oLiVeS
![]() CBuilder Developer |
oLiVeS
![]() CBuilder Developer |
Having problems copying files using CopyFile or CopyFileEx2003-12-05 06:27:10 AM cppbuilder76 When I try to copy a file using CopyFile("File1", "File2", FALSE); I get a dialog that asks for "system.pas". I have done a search and have found no such file on my system. I get the same prompt when I use the CopyFileEx function. Thanks! |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2003-12-05 06:44:29 AM
Re:Having problems copying files using CopyFile or CopyFileEx
"oLiVeS" <olives3#Remove#@earthlink.net>wrote in message
QuoteWhen I try to copy a file using Perhaps you are running your program inside the IDE, and you are debugging your program, and the IDE itself is asking for that file while you are stepping through your code? That is the only scenerio I can think of that would trigger such a dialog. Gambit |
oLiVeS
![]() CBuilder Developer |
2003-12-05 02:48:41 PM
Re:Having problems copying files using CopyFile or CopyFileEx
I guess I should have been more specific, but when I made the last post I
was in a hurry. Yes, I was running my program from the IDE, so then that's when I get the prompt for the system.pas file. No such file exists on my system as far as I can tell; I did a search and found nothing. I am not sure why this is happening because I have another project that uses the CopyFileEx function and it compiles and runs fine. Thanks {smallsort} |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2003-12-05 03:02:25 PM
Re:Having problems copying files using CopyFile or CopyFileEx
"oLiVeS" <olives3#Remove#@earthlink.net>wrote in message
QuoteNo such file exists on my system as far as I can tell be the cause of the prompt. Gambit |