Hello on this beautiful day :) (Almost 20°C outside) Today I'm stuck using WriteFile. I loaded the file into Memory do some changes and then I want to save the modified back. But all WriteFile does is to append the whole Memory content at the end of the file. How do I prevent it from doing this and simply overwriting the existing data? Thanks for the help, Jimmy
Posted on 2001-03-17 09:13:00 by JimmyClif
OK... Got it :)

invoke SetFilePointer,0,0,FILE_BEGIN
then saving.
Posted on 2001-03-17 10:28:00 by JimmyClif