Re: XP Manifest hell?
- From: Jan Hyde <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Oct 2006 08:47:30 +0100
Anthony <Anthony@xxxxxxxxxxxxxxxxxxxxxxxxx>'s wild thoughts
were released on Wed, 25 Oct 2006 12:46:03 -0700 bearing the
following fruit:
I am unable to figure out this manifest thing. I use a manifest file for my
vb6 apps (just like everyone else) so they take on the theme of the OS.
For certain apps, with no apparent common thread of relation, I cannot get
the manifest to work -- meaning, the application simply refuses to start,
UNLESS I either...
1) remove the manifest file
2) Set the compatibility mode of the executable to ANYTHING other that winXP
(and then it takes on the theme like I expect)
The same identical manifest works on other applications just fine.
I have pasted the manifest below. Does anyone know what I could be looking
for to solve this issue?
Since you didn't mention it I suspect Ken has given you the
solution. If the manifest file already exists when you run
the application AND you havened made the call to
InitCommonControls then you get exactly the circumstance you
describe - your app won't run.
J
===========================
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="CompanyName.ProductName.YourAppName"
type="win32" />
<description>Your application description here</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*" />
</dependentAssembly>
</dependency>
</assembly>
=========================
Jan Hyde (VB MVP)
--
Artifacts: Information on painters (Jonathan Delaney)
.
- Prev by Date: Re: Limit on number of Modules/forms?
- Next by Date: Can't print through Terminal Services?
- Previous by thread: Re: XP Manifest hell?
- Next by thread: Copy locked files in Windows
- Index(es):
Relevant Pages
|