Author |
Message |
Topic: Visual Studio and Debugging |
JMoody
Replies: 2
Views: 3576
|
Forum: Support Posted: Fri Jun 10, 2022 3:45 pm Subject: |
I just installed VS2022. The Managed Compatibility Mode is not there. Luckily, VS2019 and VS2022 seem to get along well on the same computer. |
Topic: Visual Studio and Debugging |
JMoody
Replies: 2
Views: 3576
|
Forum: Support Posted: Tue Jun 22, 2021 4:18 pm Subject: Visual Studio and Debugging |
I have a project using VS2019 version 16.10.2 that uses mixed C# and Fortran. In order to see the variables in the Fortran code while debugging, I need to turn on Managed Compatibility Mode.
Today, ... |
Topic: Debugging Issue with VS2019 and 8.61 |
JMoody
Replies: 3
Views: 4640
|
Forum: Support Posted: Mon Mar 09, 2020 6:26 pm Subject: |
Thanks. That fixed it. I thought I had compared all the VS settings between my new and old computer, but I missed that one. |
Topic: Debugging Issue with VS2019 and 8.61 |
JMoody
Replies: 3
Views: 4640
|
Forum: Support Posted: Mon Mar 09, 2020 2:53 pm Subject: Debugging Issue with VS2019 and 8.61 |
I am having problems with using the 8.61 plugin for VS2019. I cannot see the values of passed variables in functions or subroutines.
I have made a small project that shows the problem. You can down ... |
Topic: Visual Studio 2019 and 8.61 |
JMoody
Replies: 1
Views: 4020
|
Forum: Support Posted: Tue Feb 25, 2020 4:58 pm Subject: Visual Studio 2019 and 8.61 |
I just got a new computer, and installed VS2019 and the 8.61 update.
We have one VS project that uses Fortran. It compiles our code into a DLL to be used with a C# program. This project compiles fi ... |
Topic: Would like to run legacy version of compiler. |
JMoody
Replies: 5
Views: 4732
|
Forum: Support Posted: Thu Feb 07, 2019 2:05 pm Subject: |
Another option is to set up a XP as a virtual machine. The installer should run there too. |
Topic: FTN95 Plug-ins for Visual Studio Community |
JMoody
Replies: 14
Views: 15848
|
Forum: Support Posted: Wed Jun 24, 2015 5:07 pm Subject: |
Yes, it was the full version. |
Topic: FTN95 Plug-ins for Visual Studio Community |
JMoody
Replies: 14
Views: 15848
|
Forum: Support Posted: Wed Jun 24, 2015 4:56 pm Subject: |
No, it was an upgrade version. |
Topic: FTN95 Plug-ins for Visual Studio Community |
JMoody
Replies: 14
Views: 15848
|
Forum: Support Posted: Wed Jun 24, 2015 1:43 pm Subject: |
We upgraded to 2013 Community edition. I then reinstalled the latest version to get the plug in. It works just fine. |
Topic: How to check if a .NET-Object is null in FTN |
JMoody
Replies: 7
Views: 11177
|
Forum: Support Posted: Mon Nov 11, 2013 3:16 pm Subject: |
In C# you can do it by just checking it for null:
using System;
public static boolean IsNull(System.Object object)
{
return (object == null);
}
Since every object i ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
JMoody
Replies: 9
Views: 14564
|
Forum: Support Posted: Wed Feb 20, 2013 2:26 pm Subject: |
I would change your fortran to this:
C*************************************************************
SUBROUTINE SPINIT(irrc,scr,stitle1,stitle2,sversion,syear)
implicit DOUBLE PRECISION ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
JMoody
Replies: 9
Views: 14564
|
Forum: Support Posted: Tue Feb 19, 2013 7:24 pm Subject: |
I think it was a 77 construct. I did a quick search and found this link An automatic object can appear in a character declaration. The object cannot be a dummy argument, and its length must be declare ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
JMoody
Replies: 9
Views: 14564
|
Forum: Support Posted: Tue Feb 19, 2013 3:38 pm Subject: |
They are just strings. Here's a the basic code.
using System;
using System.Text;
namespace MyNamespace
{
public static class MyClass
{
public static short CSharpFactor ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
JMoody
Replies: 9
Views: 14564
|
Forum: Support Posted: Tue Feb 19, 2013 2:35 pm Subject: |
We are calling a fortran dll from a C# program, and pass in a object we've defined and a boolean. However, we do call a lot of C# methods in the fortran. The fortran was converted from F77, so we are ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
JMoody
Replies: 9
Views: 14564
|
Forum: Support Posted: Mon Feb 18, 2013 7:21 pm Subject: |
In your fortran code, add this line after the function statement:
ASSEMBLY_INTERFACE(NAME="SPINIT")
Also, make sure that the fortran dll is included in your C# references.
Jil ... |
|