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
Beginner
710 Views

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 Kudos
1 Reply
Steven_L_Intel1
Employee
710 Views
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 Kudos
Reply