I'm trying to get the Registration-Free Activation of COM Components: A Walkthrough sample from Microsoft to run on a windows 7 Professional / 64bit machine. I've downloaded the demo program MSDNRegFreeCOM.msi.
I have it building and running correctly on my XP-32 dev box using VS2008SP1. But when I copy working 32bit demo program to my windows 7 machine, it fails with an 0x80040154 error. This error means that the class is unregistered. However, not explicitly registering this object with windows is the point of this particular com object, so please do not tell me to register this object with Windows.
Is anyone aware of anything special that has to be done with this for windows 7?
EDIT Per Cristian Adam comments below, I've been using an external manifest file (client.exe.manifest). However, when I copy the one from the example, it does not work for me. The code is -
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
type = "win32"
name = "client"
version = "1.0.0.0" />
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="SideBySide"
version="1.0.0.0" />
</dependentAssembly>
</dependency>
</assembly>