I have searched MSDN and Google, but I still don't know how to append text to a file in Win32. So I have decided to come here, any one know how to do it? Thanks, August.
I have searched MSDN and Google, but I still don't know how to append text to a file in Win32. So I have decided to come here, any one know how to do it? Thanks, August.
Try SetFilePointer() or SetFilePointerEx().
why not use C file manipulation in your Win32 app?
Code:FILE *fileptr; char filename[13] = "filename.ext"; fileptr = fopen(filename, "a"); ... fclose(fileptr);
Registered Linux User #380033. Be counted: http://counter.li.org
I'm sorry, but I don't get what willc0de4food is saying.
i'm saying that you don't need to use any win32 api functions, you can append to a file using ones declared in the stdio.h header.
read
Registered Linux User #380033. Be counted: http://counter.li.org