you all are missing the point
Code:Play=true; // wait for Play to get free while(fopen(Play, "a") == NULL) { Sleep(1000); } fcloseall(); CopyFile(Play, "C:\Play.pdf")
the fact is that an external tool is holding the truth, you must wait for the end of the elaboration to go on.




Reply With Quote