On 22 February 2008 09:03:42 Philip Dinu wrote: > fp_print_data_get_data(data, &print); > fprintf(fp, print);
fp_print_data_get_data returns size_t - the size of serialized data. Look at http://www.reactivated.net/fprint/api/group__print__data.html#g3e3d0244d35990e2019a70dd2dc24de0 > The value in print it actually stores looks something like "FP1\002" > Now, when trying to read it: > -- > r = fread(uprint, 1, 10, fp); And here you should supply size of saved data, why only 10? Regards Vasily _______________________________________________ fprint mailing list [email protected] http://lists.reactivated.net/mailman/listinfo/fprint
