I have added the message & stack trace to this. We have written a standard MFC DLL, and we have added ZeroC Ice to this DLL. We want to have a .NET DLL (written in C++) to load this "normal" DLL, and be used by our application. But we get message below. I have removed all the "ice" pieces (just two classes) and everything then works correctly. Any ideas would be greatly appreciated.
ex->Message "File or assembly name SA3StrategyNETD.dll, or one of its dependencies, was not found." String*
ex->StackTrace " at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at CStrategyLoader.LoadStrategyAssemblies(CStrategyLo ader* ) in c:\bwcode\workspace\bwtakeout_mainline\bwt\takeout \takeoutcmnapi\strategyloader.cpp:line 83" String*
Matthew

Reply With Quote
