VS 2005, problems with manifest and unmanged code



Hi,

we have a problem with manifests in our applications.
The applications are Windows applications, developed in Visual Studio
2005, with unmanaged C++/MFC. The MFC library is statically linked, so
we normally do not need any setup, because the .exe is enough.

The projects were formerly created with Visual Studio 2003 and then
converted to 2005.
With Visual Studio 2005, a manifest is automatically embedded. We are
a little bit worrying about this, because in our opinion a manifest
makes sense with mangaged .NET applications, but we have unmanaged C++/
MFC applications, but anyway.

Now we have two applications, let's say A and B. The start of A fails
with the message:

"The application has failed to start because the application
configuration is incorrect. Reinstalling the application may fix this
problem."

When I change the project setting to 'not embed manifest', A is
working fine.

Application B works fine with or without manifest.

We tried a lot to find out the reason for the different behavior of
our applications, but without any success.
The manifest files of A and B are identical, the project settings are
nearly the same and the depending modules the applications need are
the same (we checked with DependencyWalker),

Does anybody have an idea, why application B is working fine even with
an embedded manifest?

Thanks in advance.
.



Relevant Pages

  • Re: VS 2005, problems with manifest and unmanged code
    ... The applications are Windows applications, developed in Visual Studio ... a manifest is automatically embedded. ... When I change the project setting to 'not embed manifest', ...
    (microsoft.public.vc.mfc)
  • Re: Forcing a VB6 application to run with administrative privileges
    ... You create a resource file from a properly prepared manifest using rc.exe in the wizards directory, ... Has anyone figured out how to have a VB6 application forced to run with administrative privileges yet? ... Microsoft talks about adding a manifest, a small piece of code, but that is for .Net based applications ...
    (microsoft.public.vb.general.discussion)
  • Re: A summary of my position so far.
    ... and their applications must manifest the number 2 application of an   ... preserves grammar (or lack thereof) or something like dissociated- ...
    (sci.logic)
  • Re: Forcing a VB6 application to run with administrative privileges
    ... Basically it says you need a manifest file. ... Has anyone figured out how to have a VB6 application forced to run ... applications built with Visual Studio.Net and involves adding code to ... As part of my install there is an AutoInstall program that takes up to ...
    (microsoft.public.vb.general.discussion)
  • Problems with VS2008 SP1 install
    ... So I guess I COMPLETELY uninstall/reinstall Visual Studio now and hope ... Completed Feature Enumeration for product: ... this patch is applicable ... Searching for related applications] ...
    (microsoft.public.vstudio.general)

Quantcast