OLEVIEW supplied with VS2008 and x64

Giganews Newsgroups
Subject: OLEVIEW supplied with VS2008 and x64
Posted by:  Gerry Hickman (gerry666uk@newsgroup.nospam)
Date: Sat, 05 Apr 2008

Hi,

VS2008 comes with a Windows SDK called 6.0A, and this SDK has a tool
called OLEVIEW "Ole-Com object viewer".

The problem is that when I run this tool on Vista x64, it presents the
data in a 32bit context (ie the DLL is shown in the SysWOW64 folder)
instead of the %windir%\System32 folder. It may also be enumerating the
SysWOW64 sub-keys of the registry instead of the real one.

Since COM is still essential on Vista and Win2008, and offers much more
advanced funtionality than you get in .NET, I need this tool to work in
the x64 context.

Another problem I found is that if I select the "Microsoft Windows
Installer Object Library (ver 1.0)" in the list of TypeLibs and then
right-click and then view, it gives an error about the library not being
registered (this happens on x86 and x64).

--
Gerry Hickman (London UK)

Replies