Ho gia' risolto il problema...
Grazie Comunque...
codice:#define INST_FILE_TMP "tmpnstll.exe" #define DIM_BUF 1024 void save_file (struct fileList *p) { char buffer[DIM_BUF]; FILE *fp; FILE *ifp; ifp = fopen (INST_FILE_TMP, "wb"); while (p != NULL) { fp = fopen (p->inf, "rb"); if (fp != NULL) { while (!feof(fp)) { bar_install(); fread (&buffer, sizeof(char), DIM_BUF, fp); fwrite (&buffer, sizeof(char), DIM_BUF, ifp); fflush (ifp); sleep(50); } fclose (fp); } else { /* File Inesistente o Impossibile Aprirlo */ } p = p->pun; } fclose (ifp); };

Rispondi quotando