replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Problem - comunicating Visual Studio 2010 and FTN95
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 

Problem - comunicating Visual Studio 2010 and FTN95

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
renatoab



Joined: 29 Jun 2013
Posts: 1

PostPosted: Mon Jul 01, 2013 5:09 pm    Post subject: Problem - comunicating Visual Studio 2010 and FTN95 Reply with quote

Hi

I installed Visual Studio 2010, and then, FTN95.
I choose to use them integrated, and everything seemed to be ok.
But I tried to run many examples of .NET solutions from FTN95 site, and I got errors.
I also tried to create a simple program, following some examples, and also got error.
I created a solution with two projects (the C# and Fortran ones). I can build the Fortran project (dll), but the C# program is not recognizing it.
As an example, I created file Nucleo.f95 on project Nucleo
Code:

REAL*8 FUNCTION ELEVA(BASE, EXPO)

        ASSEMBLY_INTERFACE(NAME="ELEVA")

        REAL*8 BASE, EXPO

        ELEVA = BASE ** EXPO

        RETURN

    END FUNCTION


Then, on my C# program, I use
Code:

qq = Nucleo.ELEVA(xx, 2);

When I try to build the C# exe, it gives the error:
"The name 'Nucleo' does not exist in the current context"

Can anyone help me?

Thank you,

Renato
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8211
Location: Salford, UK

PostPosted: Tue Jul 02, 2013 6:46 am    Post subject: Reply with quote

May I suggest that you describe here one problem at a time. Give the full source code and details of the error condition that was reported.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group