I am trying to build a web application that uses p/invoke to access a method. Similiar to the one used here -
However I keep getting the following error message -
Unable to load DLL 'MyDll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Any solutions I read say to change the output directory to match that of the Mydll directory I have tried that and it still does not work.
Any help would be appreciated I've been at this for days now.