We have a VB6 project that compiles into ActiveX EXE, which happens to have the word “patch” in the file name (this is part of the police dispatch system), which triggers Installer Detection in Windows 7 to think that it requires a boost.
Instead of renaming the EXE, I want to embed the manifest resource in a compiled EXE that will request the privilege level asInvoker. From reading, I know that I can do this after compiling the EXE using the tool mtin the Windows SDK, but I would prefer to put the manifest in the .RES file so that it compiles into the program whenever I create a project.
Is there a way to add a manifest resource (resource type 24) to a VB6 project using a resource editor add-in? I added the manifest file as a user resource and tried several different values for the resource type, for example, "RT_MANIFEST" and "24", and then checked if it works with mtto retry the manifest, but I can not get it to work.
Note . As mentioned on several pages that I visited, I didn’t forget to make the manifest an even number of 4 bytes, so I don’t think the problem is.
source
share