Adding, Deleting, and Replacing Resources with UpdateResource() RRS feed

  • Question

  • Hi
    I am learning about resources and trying to embed and exe into another exe. The resource exe file was 64KB and the target file size after update (using UpdateResource) was increased by 64KB. Then I removed the resource from the target file by UpdateResource(hResource, 24, 1, 1033, 0, 0). I could see that the resource is not available, but the target file size has not decreased.

    Any thoughts on what mistake I am making?

    Wednesday, December 30, 2009 7:45 AM