Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Dll Debug vs Release

khjavaid1
초급자
930 조회수

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

0 포인트
1 응답
Steven_L_Intel1
930 조회수
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.
0 포인트
응답