soccer jersey forums.silverfrost.com :: View topic - Compiler will not build dll
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 

Compiler will not build dll

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



Joined: 28 Mar 2014
Posts: 4

PostPosted: Sat Jun 03, 2017 5:19 pm    Post subject: Compiler will not build dll Reply with quote

When I try to compile and build a Fortran dll file, I get the message:
Unable to write to file Debug\.NET\FitSubs.dll
This file is called via a C# program in Visual Studio 2015.
In a previous version of the program, I can make changes in the Fortran.dll file and it compiles and builds fine.

To ensure I was doing things correctly, I used the example dll program in the Ftn95 help file, which interfaces with a simple Windows Form. The source code looks like this:

FUNCTION Process(x)
ASSEMBLY_INTERFACE (name="Process")
INTEGER,PARAMETER::d=selected_real_kind(10)
REAL(d)::Process
REAL(d),INTENT(IN):Mad
Process=x*x
END

In the project properties the output filename is set to Debug\.NET\Project1.dll and the output file type is set to Dynamic Link Library (DLL). When I try to compile and build it I get the same error:
Unable to write to file Debug\.NET\Project1.dll

Why won't it write the dll?
Back to top
View user's profile Send private message
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