View previous topic :: View next topic |
Author |
Message |
narayanamoorthy_k
Joined: 19 Jun 2014 Posts: 142 Location: Chennai, IN
|
Posted: Tue Mar 01, 2016 6:49 am Post subject: Executable not runs in other windows system |
|
|
Hi
I have developed a small fortran application using PLATO IDE. The generated executable only runs in my laptop (windows7) where I developed. THe silverfrost application (FTN95, Plato IDE, Express) are installed in my laptop. The executable runs smoothly without any problem here.
But when I run this executable from other system, it is throwing errors. Is there problem? Pls. help to resolve.
Thanks and Regards
Moorthy
PS: Not sure if the similar issues was reported earlier to this forum. _________________ Thanks and Regards
Moorthy |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue Mar 01, 2016 7:56 am Post subject: |
|
|
You will need to copy salflibc.dll to the other machine together with your executable. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Tue Mar 01, 2016 6:10 pm Post subject: |
|
|
... and any other files the applications require. The reason why most software requires you to install it is because of copying all the requisite files to specific folders and putting the relevant entries into the Registry.
If your application will run only with salflibc.dll, that's fine. If you have a lot more to install, then you need an applicationto do it. I use Jordan Russell's InnoSetup: http://www.jrsoftware.org/isdl.php
It is free. |
|
Back to top |
|
|
narayanamoorthy_k
Joined: 19 Jun 2014 Posts: 142 Location: Chennai, IN
|
Posted: Wed Mar 02, 2016 12:35 pm Post subject: Re: |
|
|
LitusSaxonicum wrote: | ... and any other files the applications require. The reason why most software requires you to install it is because of copying all the requisite files to specific folders and putting the relevant entries into the Registry.
If your application will run only with salflibc.dll, that's fine. If you have a lot more to install, then you need an applicationto do it. I use Jordan Russell's InnoSetup: http://www.jrsoftware.org/isdl.php
It is free. |
Thank you very much Litus..
It is a simple executable application (1 exe file), which reads an input data (text) file and process and writes the results in another output file. It runs in DOS prompt. So, copying salflibc.dll alone was not helping to run successfully. But how this InnoSetup helps here. No need to register through windows registry etc. at this moment. Pls. let me know. _________________ Thanks and Regards
Moorthy |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Wed Mar 02, 2016 7:43 pm Post subject: |
|
|
So all you need is to copy across your EXE file and salflibc.dll. My applications need to copy font files, help files, register the default file types with the registry so that clicking on a datafile launches the application, putting icons on the desktop or the start menu, setting up a folder tree for data files, and arranging whatever is necessary to uninstall the application in the future. If your needs are simple and trivial you can of course just copy the files across, and if it is a plain old console application all will be fine.
The great advantage of FTN 95 over other Fortrans is the ease with which you can create a full Windows application. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Thu Mar 03, 2016 12:31 am Post subject: |
|
|
The other file you might need (depending on which functions you are using) is: Salford.VisualClearWin.dll. You might not.
Also, the dll's need to be in the same folder as the executable program to be found properly. If they are in your data folder, this will not work. |
|
Back to top |
|
|
narayanamoorthy_k
Joined: 19 Jun 2014 Posts: 142 Location: Chennai, IN
|
Posted: Thu Mar 03, 2016 7:44 am Post subject: |
|
|
@Litus, @Wahorger: Thanks a lot for the details. I agree that FTN95 is an excellent environment in developing Fortran based applications. I will be developing the Windows based applications too. _________________ Thanks and Regards
Moorthy |
|
Back to top |
|
|
|