irb4
September 24th, 2006, 10:58 PM
with evc++ 2002
[source]
//window init
FILE *fp;
static char TextBuffer[T_TEXT_BUFFER_SIZE] = {0};
fp=fopen("\\Temp\\agon.doc", "wt");
//case wm_user
fprintf (fp, "fclose example");
//fprintf(fp, TextBuffer);
//fprintf (fp, "%d",x); //all these didn't work
//when windows exit
fclose(fp);
[\source]
windows ce mobile 5 says: a problem with the document have been encountered and it cannot be opened.
Now what is wrong with my code?
[source]
//window init
FILE *fp;
static char TextBuffer[T_TEXT_BUFFER_SIZE] = {0};
fp=fopen("\\Temp\\agon.doc", "wt");
//case wm_user
fprintf (fp, "fclose example");
//fprintf(fp, TextBuffer);
//fprintf (fp, "%d",x); //all these didn't work
//when windows exit
fclose(fp);
[\source]
windows ce mobile 5 says: a problem with the document have been encountered and it cannot be opened.
Now what is wrong with my code?