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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -