I am trying o p/invoke a c++ class i have created into a asp.net web application. I have used the following tutorial - p/invoke
I can get it working when creating a c# console applicatioin but not a web application
I get the following error when I run it -
"Unable to load DLL 'MyDll.dll': The specified module could not be found."
I have tried putting MyDll.dll into the bin folder but this does not work.
I have set the build path in my web application to match the MyDll.dll but i have read that ASP.NET ignores this and automatically goes to the bin folder when you click debug(F5)