Shim won't load - more details

D

David Thielen

Hi;

Ok, more on the shim not loading. I ran the shim creation wizard and
the only 2 non-default things I selected were:

1) do NOT use the same GUID/ProgId
2) AddIn available to all users

This is for an AddIn for Excel, Word, & PPT. The only secondary
interface is for the ribbon.

In the call _AtlModule.DllGetClassObject(rclsid, riid, ppv); it
returns the error:
hr 0x80040111 ClassFactory cannot supply requested class
HRESULT

where rclsid = {CLSID_AutoTagShim2007.Connect} const _GUID &

In the registry HKCR\AutoTagShim2007.Connect has:
CLSID = {82c46472-7729-481d-a4b4-63576ca543a9}
CurVer = AutoTagShim2007.Connect.1

HKCR\AutoTagShim2007.Connect.1 has:
CLSID = {21980B68-3153-48e4-BF59-6FC0247C5F98}

HKCR\CLSID\{82c46472-7729-481d-a4b4-63576ca543a9} has:
default = AutoTagShim2007.Connect
InprocServer32 =
c:\src\holomua\AutoTag\AutoTagShim2007\Debug\AutoTagShim2007.dll (this
is correct)
ProgID = AutoTagShim2007.Connect

HKCR\CLSID\{21980B68-3153-48e4-BF59-6FC0247C5F98} has:
default = Connect Class
InprocServer32 =
c:\src\holomua\AutoTag\AutoTagShim2007\Release\AutoTagShim2007.dll
(WRONG!)
ProgID = AutoTagShim2007.Connect.1
VersionIndependentProgID = AutoTagShim2007.Connect

WHat is also weird is the .rgs file created by the shim wizard uses
AutoTag2007, not AutoTagShim2007 and so the above may be left over
from my old shim and are just not being set by the new one. Here's the
rgs:

HKCR
{
AutoTag2007.Connect = s 'Connect Class'
{
CLSID = s '{695163d3-d0a7-4bdb-9510-489142e227eb}'
}
NoRemove CLSID
{
ForceRemove '{695163d3-d0a7-4bdb-9510-489142e227eb}' =
s 'AutoTag2007.Connect'
{
ProgID = s 'AutoTag2007.Connect'
InprocServer32 = s '%MODULE%'
{
val ThreadingModel = s 'Apartment'
}

}
}
}

HKLM
{
NoRemove Software
{
NoRemove Microsoft
{
NoRemove Office
{
NoRemove Excel
{
NoRemove Addins
{
ForceRemove
AutoTag2007.Connect
{
val
'Description' = s 'Description for AutoTag2007.Connect'
val
'FriendlyName' = s 'AutoTag2007.Connect Friendly Name'
val
'LoadBehavior' = d 3
}
}
}
NoRemove PowerPoint
{
NoRemove Addins
{
ForceRemove
AutoTag2007.Connect
{
val
'Description' = s 'Description for AutoTag2007.Connect'
val
'FriendlyName' = s 'AutoTag2007.Connect Friendly Name'
val
'LoadBehavior' = d 3
}
}
}
NoRemove Word
{
NoRemove Addins
{
ForceRemove
AutoTag2007.Connect
{
val
'Description' = s 'Description for AutoTag2007.Connect'
val
'FriendlyName' = s 'AutoTag2007.Connect Friendly Name'
val
'LoadBehavior' = d 3
}
}
}
}
}
}
}

Help please.

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

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

Similar Threads


Top