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