Hi Eric,
I've not had this problem reported before.
This is the line of code in the unmanaged loader that fails:
hr = pRuntimeInfo->GetInterface(CLSID_CorRuntimeHost,
IID_ICorRuntimeHost, (LPVOID*)ppHost);
What version of .NET is your add-in targeting?
My first suggestion would be to check that .NET runs fine - just run
some .NET app that would be using the same .NET version as your add-
in.
It looks like .NET 4 is installed on that machine, so the .NET 4
runtime loading interfaces would be used, even if you are
targeting .NET 2.0 with your add-in. Perhaps you can reinstall .NET 4
on that machine as well as whatever .NET version you are targeting (if
you haven't done so already).
Also try the simplest Excel-DNA add-in - just the ExcelDna.xll and
ExcelDna.dna from the Distribution.
One case that might be usual would be if the user had some beta
version of .NET 4. Maybe you can check what's installed in Add/Remove
Programs list, or by listing the directories in C:\Windows
\Microsoft.NET\Framework\.
Also check the Event Log for anything suspicious.
Anti-virus...? (Though this would be a really funny error to get.)
(Grasping at straws now....)
Regards,
Govert