replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Getting error, 'main program not permitted in 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 

Getting error, 'main program not permitted in DLL'

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



Joined: 19 Nov 2012
Posts: 1

PostPosted: Tue Nov 20, 2012 2:14 am    Post subject: Getting error, 'main program not permitted in DLL' Reply with quote

Getting a message 'Main program not permitted in DLL' when I try to run my program. Soes anyone know when I wam getting this message with trying to debug using Silverfrost FTN95 Express?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue Nov 20, 2012 9:41 am    Post subject: Reply with quote

You need to set the "target" of your build process to an executable rather than a DLL. You will find the "target" in the "Project Properties".
Back to top
View user's profile Send private message AIM Address
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Tue Nov 20, 2012 10:09 am    Post subject: Reply with quote

In FTN95 Express, you need to change the Output Filetype from a DLL to an EXE. This is in the project properties under Miscellaneous, Output Options.
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
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 -> General 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