How to get Isolated COM Activation (Registration-Free COM using a .manifest file) to work on Windows

D

DR

How to get Isolated COM Activation (Registration-Free COM using a .manifest
file) to work on Windows Server 2003, Enterprise x64 Edition?

The Isolated COM examples work on my Windows XP Pro but not on Windows
Server 2003, Enterprise x64 Edition.

On Windows Server 2003, Enterprise x64 Edition I get this error from
applications that use a manifest file to access com objects:
Retrieving the COM class factory for component with CLSID{......} failed
due to the following error 800700c1

On my XP Pro machine i have installed:
ms .net frmwrk 1.1
ms .net frmwrk 1.1 hotfix(kb928366)
ms .net frmwrk 2.0 service pack 1
ms .net frmwrk 3.0 service pack 1
ms .net frmwrk 3.5 framework 3.5 (prereleased version)

on my Windows Server 2003, Enterprise x64 Edition i have installed:
ms .net compact frmwrk 1.0 SP3 Developer
ms .net compact frmwrk 2.0
ms .net framework 2.0 (x64)

here example of Registration-Free COM using a .manifest file that I tested
on both machines:

Isolated COM Activation tutorial:
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/

Isolated COM Activation sample project:
http://download.microsoft.com/download/2/e/9/2e9bde04-3af1-4814-9f1e-733f732369a3/RegFreeCOM.exe
 
C

Cezary Nolewajka

The error you get is usually related to a COM activation error when one
tries to activate a 32 bit COM on a 64 bit machine.

From your description it seems it might be the case.Maybe it's worth
verifying what target platform you have in the project settings?
 

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