Getting further on the shim, failing to find the .net AddIn

D

David Thielen

Hi;

First off, searching the web I think this is the build event for a
shim. Is this correct?

regsvr32 /s /c "$(TargetPath)"
copy "C:\src\holomua\AutoTag\AutoTag2007\bin\Release\AutoTag2007.dll"
"$(TargetDir)"
copy "$(SolutionDir)ManagedAggregator\bin\Debug\ManagedAggregator.dll"
"$(TargetDir)"

Second, in ConnectProxy.cpp CConnectProxy::OnConnection it is
returning:

hr 0x80070002 The system cannot find the file specified.
HRESULT

Could this be due to:

1) When building the shim it copies over the file AutoTag2007.dll, but
none of the DLLs it references?

2) It seems to be putting itself in the registry as
AutoTag2007.Connect rather than AutoTagShim2007.Connect - so does this
mean looking up AutoTag2007.Connect in the registry actually just
points right back at the shim?

Also, normally when debugging our AddIn I want to directly run the
..net AddIn and not use the shim - what do I have to change in the
registry to get the shim to not use AutoTag2007.Connect as that stops
me from being able to use it to load the AddIn directly.

??? - 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

Top