- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
I have a Fortran Dll compiled in Release mode, which I call from C# and this works fine. However, I need to run the Debug version instead. I have compiled the debug version and linked to C# but it crashes upon execution.
What changes do I need to make in the build properties for the dll to work in C# in debug mode?
I have tried compiling the C# code in debug but this makes no difference.
Thanks. Kashif
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I would recommend that you change the project property Fortran..Libraries..Use Run-Time Library to "Multithreaded DLL" (don't pick one of the Debug library options.)
Be sure to enable "Unmanaged code debugging" in the C# project properties.
Be sure to enable "Unmanaged code debugging" in the C# project properties.