forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 14 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: FTN95 Plug-ins for Visual Studio Community
JMoody

Replies: 14
Views: 6770

PostForum: 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: 6770

PostForum: 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: 6770

PostForum: 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: 5838

PostForum: 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: 6066

PostForum: 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: 6066

PostForum: 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: 6066

PostForum: 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: 6066

PostForum: 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: 6066

PostForum: 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 ...
  Topic: Link error when compiling for release
JMoody

Replies: 3
Views: 6610

PostForum: Support   Posted: Thu Mar 17, 2011 2:54 pm   Subject:
Well, I had the same problem again today. I had split another function out into it's own source file for a total of 197 files in my .NET Fortran project.

Debug linked just fine. However, release bl ...
  Topic: Link error when compiling for release
JMoody

Replies: 3
Views: 6610

PostForum: Support   Posted: Thu Mar 03, 2011 5:26 pm   Subject:
We have played with this some more.

The problem seems to be the optimization flag. If I turned that off, the project will compile for RELEASE.

Now, the project is large. I have been moving indi ...
  Topic: Link error when compiling for release
JMoody

Replies: 3
Views: 6610

PostForum: Support   Posted: Tue Mar 01, 2011 8:34 pm   Subject: Link error when compiling for release
I have a Fortran project that is compiled into a dll to be accessed from C#. It compiles fine in debug mode, but I get the error "Internal Linker Error" when compiling it in release.

I h ...
  Topic: Visual Studio FTN plugin locking referenced dll
JMoody

Replies: 1
Views: 2453

PostForum: Support   Posted: Fri Oct 02, 2009 7:12 pm   Subject: Visual Studio FTN plugin locking referenced dll
I found a problem with the Visual Studio plug in.

When the FTN plugin to Visual Studio 2008 accesses a dll that is stored outside of the solution, it locks the dll.

I have a solution with a FT ...
  Topic: Checkmate, .NET, C#, old FTN77 code and long strings
JMoody

Replies: 2
Views: 2421

PostForum: Support   Posted: Fri Aug 29, 2008 2:44 pm   Subject: Checkmate, .NET, C#, old FTN77 code and long strings
We are converting a FTN77 program to .NET in Visual Studio 2008. I am getting a memory overwrite somewhere in the code, so I am trying to use CheckMate instead of Debug as my complier configuration t ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group