The unexplainable, a DllNotFoundException
-
I'm having a very odd problem. I have a basic C# form app that pInvokes into a C++ dll. When I build my C++ dll and C# app in Release mode, the C# app can load the dll and call into it just fine. However if I build the solution in Debug mode, the C# app throws a DllNotFoundException. I've double checked and the C++ debug version of the dll is being properly copied into the C# app's bin/debug folder, so its actually there. Why is it able to load the release version and not the debug version?:mad:
-
I'm having a very odd problem. I have a basic C# form app that pInvokes into a C++ dll. When I build my C++ dll and C# app in Release mode, the C# app can load the dll and call into it just fine. However if I build the solution in Debug mode, the C# app throws a DllNotFoundException. I've double checked and the C++ debug version of the dll is being properly copied into the C# app's bin/debug folder, so its actually there. Why is it able to load the release version and not the debug version?:mad:
dxben wrote:
I've double checked and the C++ debug version of the dll is being properly copied into the C# app's bin/debug folder, so its actually there.
And the name of the debug dll is the same? xacc.ide-0.1 released! Download and screenshots
-
dxben wrote:
I've double checked and the C++ debug version of the dll is being properly copied into the C# app's bin/debug folder, so its actually there.
And the name of the debug dll is the same? xacc.ide-0.1 released! Download and screenshots