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
OK... Got it :)
invoke SetFilePointer,0,0,FILE_BEGIN
then saving.