Additional Manifest Dependencies?

S

S. Heck

I am getting the following application error after moving to VC++ 2008 SP1
from VC++ 2008.

The application failed to initialize properly (xc0150002).

I need to be able to run my application without installing the VC++ 2008 SP1
Redist package or using an installer. I placed the redist libraries and
manifests in the same folder as my application files. This worked fine with
VC++ 2008.

With VC++ 2008 SP1 it appears that the policy files that are installed by
VC++ 2008 SP1 Redist package are required (see example below). It appears
that bindingRedirect is needed for VC++ 2008 SP1. Is there a way to input
this via Additional Manifest Dependencies or some other method? As I
mentioned I can't use a installer or the VC++ 2008 SP1 Redist package.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32-policy"
name="policy.9.0.Microsoft.VC90.MFCLOC" version="9.0.30729.1"
processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"/>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.MFCLOC"
processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"/>
<bindingRedirect oldVersion="9.0.20718.0-9.0.21022.8"
newVersion="9.0.30729.1"/>
<bindingRedirect oldVersion="9.0.30201.0-9.0.30729.1"
newVersion="9.0.30729.1"/>
</dependentAssembly>
</dependency>
</assembly>

Thanks!
 
D

David Connet

I am getting the following application error after moving to VC++ 2008
SP1 from VC++ 2008.

The application failed to initialize properly (xc0150002).
<snip>

See my response in m.p.d.l.vc.libraries

Dave Connet
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top