I have C# WPF application in which I have used C++ DLL libraries. When I build my project it builds successfully and all my DLL and exe are stored in bin/(Platform) eg(bin/Debug) folder.
Now if I copy the debug folder and paste it anywhere in my system and try to run the exe it runs successfully but if I copy the debug folder to the another system and try to run the exe it shows error "Unable to load DLL (Module could not be found HRESULT: 0x8007007E)".
Any suggestions or help will be appreciated.
I have tried setting the same Configuration and Platform for both DLL and exe. But still can't figure out that the exe is perfectly running on my system and if tried on another system its showing "Unable to load DLL" error.