Tuesday, 15 July 2014

C and fwrite stream != null -


I have a program that he tries to get data from the concrete device after the incident of the device and save it on the hard drive. Save:

  FILE * fp_binary = fopen (appadata, "wb"); Frame (buffer, size (four), size (buffer), FP_binary); Fclose (fp_binary); Therefore, when I run this program it works fine, but if I disconnect the device and store it again:  

The appadata is the path to the appadata folder and the file name has always been re-created with a different buffer

@edit

First time: Enter image details here second part In:

Here's where Enter the process details


No comments:

Post a Comment