I am facing a problem in updating the resources in MFC application.
For example, i have two files SampleText1.txt and SampleText2.txt.
i want to load both the files separately into the resources (at run time) so that when i load the resource and save it, i should have the contents of both the text files.
I used BeginUpdateResource(), UpdateResource() and EndUpdateResource() twice.
But at the end, i observed that the resource only contain the contents of SampleText2.txt file.
In other words, when i am trying to update the resource (for the second time), the earlier contents are being replaced. I want them to append at the end of first one.
Any help is greatly appreciated.
Thanks and Regards,