I have a C# application that is using an unmanaged C++ .DLL. When I run it locally, it works fine (the development machine). I can debug it and all that stuff. When I copy the application up onto a server where it will reside, I put everything in the correct directories and whatnot. When I go to execute this particular function in this .DLL the application errors out and says it can't find the particular DLL that is labelled in the DllImport statement.
I have double-checked this and the .dll file is definitely in the same application directory as the C# application. What's going on here
Thanks,
D