Hi All,
I am facing a problem in adding resources at run time. The old resources are getting deleted automatically.
The sequence is as follow:
1. Reading the binary contents of a file.
2. Trying to add to resources section of another executable.
3. The resources are being added as "BIN1" -> "IDR_SAMPLEBIN1" and so on.
4. After some steps, the previously added resources are getting deleted.
5. At the end of 8 cycles, i expect resources "BIN1" through "BIN8" but i found only 2 or 3 of them.
I could not understand what could be wrong.
I am using BeginUpdateResource(), UpdateResource() and EndUpdateResource() for the same.
Any help is greatly appreciated.
Thanks and Regards,
Kishor Reddy