View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Fri Apr 25, 2014 12:17 pm Post subject: My older EXEs do not start with new SalfLibc |
|
|
If i install latest FTN95 it runs my older compiled programs OK. But if i substitute SalfLibc with the latest SalfLibc libraries then my older EXE files do not start with this message:
I need to recompile the code with new libraries for this message not to appear. What can cause this ? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Fri Apr 25, 2014 3:05 pm Post subject: |
|
|
I think that __export_pcx will be present in both dlls but it is possible that the signature has changed. For example, normally functions are exported as 'extern "C"' and maybe for some reason this function was changed.
As a general rule a user exe should be kept with the dll used when building. Anything else is a bonus. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Fri Apr 25, 2014 4:33 pm Post subject: |
|
|
Well, that will be cumbersome, sometimes I have to look at older code compiled with specific parameters, so I keep EXEs with the data it produced. And all was working OK for 25 years, hope to find exact reason and there will be no need for keeping old DLLs with each of 1000 EXEs I have ;( |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Fri Apr 25, 2014 7:55 pm Post subject: |
|
|
I will have a look at the history of this function. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Sat Apr 26, 2014 9:13 am Post subject: |
|
|
This turns out to be a regression and it has been fixed for the next release.
It affects the following functions
import_gif@
ddb_paint@
import_pcx@
export_pcx@ |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Sat Apr 26, 2014 11:13 am Post subject: |
|
|
Cool! Many, many thanks, Paul |
|
Back to top |
|
|
|