.net - DLL cannot be loaded even though file exists -
i'm debugging .net desktop app in visual studio 2014 ctp on windows 7 in virtualbox vm uses managed dll (probably wrapper) in turn uses unmanaged dll. both in same directory executable. managed dll loaded correctly when execution reaches line calling function it, exception shown unmanaged dll couldn't loaded: system.dllnotfoundexception. however, when rename unmanaged dll , put empty file there name , extension unmanaged dll had, there exception, different one: system.badimageformatexception. why original file ignored when it's supposed loaded , how fix problem?
Comments
Post a Comment