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.
----------------------------

If I attempt to use RT_MANIFEST file with the .exe.config file, it seems to
be ignored. If I use the same resource id as the .exe.manifest then I get a
duplicate resource error. Any input appreciated.