We have an application running as a third party DLL inside another standalone application (Rhinoceros). Our application's UI is written using WPF in C# on Win 7 (using Visual Studio 2010/2012) and it also uses a managed C++ DLL for the back-end code. We are running into a situation where the our DLL is failing to load inside Rhinoceros. Looking at the dependency walker of the C# DLL doesn't reveal anything (there is no tree of dependent DLLs). But the managed C++ DLL shows the whole tree of dependent DLLs and says the system cannot find the following files:
API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL
DCOMP.DLL
IESHIMS.DLL
We first discovered this from our customer installations and not on our systems. But when my colleague gave me a build from his machine, I was able reproduce this loading problem on my machine as well. My initial thought was that perhaps we are missing some re-distributable (of VC or .NET). However I have VC2010, VC2012 and also .NET 4.5 on my machine. So that missing re-distributables should not be an issue for me. Can anyone let us know what it is missing? or how to fix this loading issue? Since our application runs inside the standalone application (Rhinoceros), we don't have much details on the error, other than the message "Unable to load the dll; application initialization failed".
No comments:
Post a Comment