Hack Forums
[C] CopyFile - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] CopyFile (/showthread.php?tid=3430601)



CopyFile - zapfen - Apr 23, 2013

I Found it out on my own :)

Thanks anyway :P

-zapfen

Spoiler (Click to View)


* - Shihanus - Apr 23, 2013

That code looks so ugly.
How about checking the return value of CopyFileA And calling GetLastError?