velocirapt0r
Programmer
I have written a program for a small organisation that monitors employee activities, and has a feature that will automatically run a second program or file that is packaged (as a resource within the executable) with it when it is distributed to the employees over the network. In the past, I have always recompiled and edited the resource file whenever I want to change what is packaged with it, but I now have a few people working under me. They are fairly new, and I don't want to trust them with my source for fear that they will fiddle with it, but I do want them to be able to change what is packaged with it, so I have come to the conclusion that the best way to do this is to compile a copy of the program with a fairly vast (say 5MB) dummy resource which can be partially or completely overwritten by a second program which will essentially copy an executable into the place of the available space. I am fairly sure that such a thing is possible, as I have successfully done it with a text file, but binary is presenting a problem.
What I am really asking is can anybody suggest a way in which I might replace a binary resource in an executable using a delphi application? I don't want to use a res hacker; I would like something that gives my subordinates an easy to use GUI, which means I need to do it at runtime in a delphi application.
Thank you in advance to anyone who can give me a hand with this. I am hardly inexperienced with Delphi, but I admit that I am in a pickle...
What I am really asking is can anybody suggest a way in which I might replace a binary resource in an executable using a delphi application? I don't want to use a res hacker; I would like something that gives my subordinates an easy to use GUI, which means I need to do it at runtime in a delphi application.
Thank you in advance to anyone who can give me a hand with this. I am hardly inexperienced with Delphi, but I admit that I am in a pickle...