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

Debug Mixed Language

Mark_Brown
Beginner
505 Views

I have s VS2008 solution.  It has an IVF DLL and a VB.NET Main program.

The VB uses the DLL with

   Private Declare Sub INIT_PARMS Lib "ERI_TEST.dll" Alias "INIT_PARMS" ()

How do I set VS to use the loaded IVF Fortran project vs the compiled DLL so I can single step through the DLL?

0 Kudos
2 Replies
Steven_L_Intel1
Employee
505 Views
To enable debugging of Fortran code called from Visual Basic, right click on the VB project and then select Properties. In the left column, select Configuration Properties > Debugging. Check the box labeled "Enable unmanaged code debugging" and click OK.
0 Kudos
Mark_Brown
Beginner
505 Views
Thanks for the help. That works perfect.
0 Kudos
Reply