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 

My older EXEs do not start with new SalfLibc

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



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Fri Apr 25, 2014 12:17 pm    Post subject: My older EXEs do not start with new SalfLibc Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Apr 25, 2014 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
DanRRight



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Fri Apr 25, 2014 4:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Apr 25, 2014 7:55 pm    Post subject: Reply with quote

I will have a look at the history of this function.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


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

PostPosted: Sat Apr 26, 2014 9:13 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
DanRRight



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Sat Apr 26, 2014 11:13 am    Post subject: Reply with quote

Cool! Many, many thanks, Paul
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