Visual Studio 2008 does not work under Vista 64 bit

Giganews Newsgroups
Subject: Visual Studio 2008 does not work under Vista 64 bit
Posted by:  Rolf Welskes (rolf@nospam.nospam)
Date: Wed, 20 Aug 2008

Hello,
I have a simple atl-project with one simple class TestCls01.
One function TestCls01.Test().

I call this function from a Tst-Prj in dotnet.

I do all this in VS2008.
I compile it under Xp, run it, all works fine.

Now I go to Vista-64bit.

I start VS as Admin (because of registration from VS).
Now I load the solution.
Now I compile all.
All works fine. In the output I see, that the atl-component is registered by
VS.

Now I run the program.
dotnetpart, ok, I click a Test-Button, to run TstCls01.Test().

At the position:
ITestCls tc = new TstCls01Class();
I get the runtime error: Cls with id xxxxx is not registered.  The guid is
the guid of the atl-class.
As I said, no problem under Xp.
But this is under Vista-64-bit.

Seems, VS registers the atl-component, but not the Atl-Class.

Thank you for any help.

Best Regards
Rolf Welskes

Replies