Am trying to load a unmanaged dll(C++) through DllImport method but am getting below exception.
Unable to load DLL 'Pine.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have placed my dll in the path bin\Debug\ (am running in debug mode). But am getting this dllnotfoundexception.
Before formatting my PC and freshly installed VS2015 it was working fine. But when i reinstalled my OS and installed VS-2015 it is giving this error. Am i missing any dll or something that support DllImport.
Any help are appreciated.