View previous topic :: View next topic |
Author |
Message |
ramsy
Joined: 19 Nov 2012 Posts: 1
|
Posted: Tue Nov 20, 2012 2:14 am Post subject: Getting error, 'main program not permitted in DLL' |
|
|
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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8261 Location: Salford, UK
|
Posted: Tue Nov 20, 2012 9:41 am Post subject: |
|
|
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 |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Tue Nov 20, 2012 10:09 am Post subject: |
|
|
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 |
|
 |
|