Re: VS2005 and manifest files
- From: "Ron Francis" <rfrancis@xxxxxxxxxxxx>
- Date: Sun, 6 May 2007 10:13:30 +0930
Thanks Ivan,
What you describe is pretty much how I was doing it in VC++6, but by default
VS2005 switches are set to create a manifest file and embed it into the
binary.
This is what I'd like to get working.
I'm pretty sure that I can just turn these switches off and go back to my
old method, but if VS can do it automatically I'd like to use the feature.
Cheers
Regards,
Ron Francis
www.RonaldFrancis.com
"Ivan Brugiolo [MSFT]" <ivanbrug@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:eqV5xB2jHHA.4188@xxxxxxxxxxxxxxxxxxxxxxx
-1-
create a file named <binary_name>.manifest
-2-
Embed the dependency in the manifest
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="X.X.X.X"
processorArchitecture="x86"
name="YYYYYYYYYY"
type="win32"
/>
<description>XXXXXXX</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
-3-
Add the following line to the *.RC file for you binary
<resource_id> RT_MANIFEST "<your_path>\<binary_name>.manifest"
-4- compile and link
--
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Ron Francis" <rfrancis@xxxxxxxxxxxx> wrote in message
news:%23KbSrLujHHA.4852@xxxxxxxxxxxxxxxxxxxxxxx
Not sure it I can post this question here of if there is a dedicated
newsgroup for the VS2005 IDE.
I have just upgraded from VC++6 to VS2005 and am trying to convert my
apps that are basically written with C++ and Platform SDK.
In VC6, I just had a manifest file that I included in a resource which
worked fine.
VS2005 has the option to create a manifest and embed it into the file.
I've got this half working but can't find way to include the dependency
below into the generated file ...
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
Can someone tell me how to do it?
Regards,
Ron Francis
www.RonaldFrancis.com
.
- References:
- VS2005 and manifest files
- From: Ron Francis
- Re: VS2005 and manifest files
- From: Ivan Brugiolo [MSFT]
- VS2005 and manifest files
- Prev by Date: Re: VS2005 and manifest files
- Next by Date: Re: VS2005 and manifest files
- Previous by thread: Re: VS2005 and manifest files
- Next by thread: Re: IsWindow weirdness
- Index(es):
Relevant Pages
|