c# - DLLnotfoundexception:Unable to load DLL 'Pine.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) -


am trying load unmanaged dll(c++) through dllimport method getting below exception.

unable load dll 'pine.dll': specified module not found. (exception hresult: 0x8007007e)

i have placed dll in path bin\debug\ (am running in debug mode). getting dllnotfoundexception.

before formatting pc , freshly installed vs2015 working fine. when reinstalled os , installed vs-2015 giving error. missing dll or support dllimport.

any appreciated.

from remember on windows search order dll is:

current directory system folder, c:\windows\system32 or c:\windows\syswow64 (for 32-bit process on 64-bit box). reading path environment variable in addition i'd check dependencies of dll, dependency walker provided visual studio can out here, can downloaded free: http://www.dependencywalker.com


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -