I've gotten to a point with some example Fortran/C++/C# code where I can build the solution, but when I try to execute the code, it crashes with the error message at the top of the attached document ("Microsoft Visual C++ Debug Library Debug Assertion Failed..."). The attached file also shows a screen shot of the Vis. Studio solution and the resulting 'breakpoint' when I click "Retry" on the preceding window. I'm wondering if I'm missing a C++ header file to go with the C++ source code (Cxx.cc)? Unfortunately, I don't know C++ very well.
The code crashes when it gets to the following line of Fortran shown in the middle tab group of the screen shot:
PRINT *, "C++ call returns", Cxx( i, j )
If any one can tell from the solution set up shown in the screen shot what could be at the root of this error, that would be very helpful. I think the code was working outside of visual studio when it was shared with me, but I'm trying to get working from inside visual studio.