Embedding .exe.config as a Win32 Resource

B

Bob

I have both a .exe.config and a .exe.manifest file and both work fine as
files. I would like to embed both files as a Win32 resource. I am able to
do this with the .exe.manifest file by referencing it in the .res file with
RT_MANIFEST (24). But how is it possible to do this with the .exe.config
file? I know it is possible because of this MSDN comment:

----------------------------
http://msdn.microsoft.com/library/en-us/sbscs/setup/application_configuration_files.asp

Application configuration files must be installed in the same location as
the application's application manifest. Application configuration files and
application manifests can be installed in two locations:

* In the same folder as the application's executable file.
* As a resource in the application's EXE file or DLL file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top