anonytmouse, i tried the following but none seems to work perfectly, can you tell me the problems?
Code:
WriteFile(File,Title,Length2,&TitleWritten,NULL);
WriteFile(File,"\r\n",4,&TitleWritten,NULL);
WriteFile(File,Buffer,Length,&bytesWritten,NULL);
output for this is
theres a spacing in front of the second info
Code:
strcat(Title,"\r\n");
Length2 += 4;
WriteFile(File,Title,Length2,&TitleWritten,NULL);
WriteFile(File,Buffer,Length,&bytesWritten,NULL);
Output is
The newline command definitely works but both with funny results, can someone explain ?