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 

Warning:Windows 11 24H2

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


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

PostPosted: Sat Feb 15, 2025 4:26 pm    Post subject: Warning:Windows 11 24H2 Reply with quote

Please be aware that (in the UK at least) automatic updates for Windows 11 now give you version 24H2.

Win32 applications that contain calculations that underflow will currently not recover unless underflows are masked.

This only applies to Win32 applications, not x64 and not .NET.

Win32 underflows can be masked by either:

a) calling mask_underflows@() or
b) setting the environment variable SALFENVAR=mask_underflows

This applies for all versions of salflibc.dll prior to FTN95 v9.10.
Back to top
View user's profile Send private message AIM Address
ljfarrugia



Joined: 06 Jun 2016
Posts: 43

PostPosted: Thu Dec 18, 2025 10:50 am    Post subject: Reply with quote

Can I ask what is the likely result of a program not recovering from underflow? Is seizing up a likely result?
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 463
Location: Manchester

PostPosted: Thu Dec 18, 2025 12:29 pm    Post subject: Reply with quote

Seizing up is exactly what happens if you take an underflow in Win32. FTN95 9.10 and above turn off underflow trapping to stop this.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Thu Dec 18, 2025 12:33 pm    Post subject: Reply with quote

You can expect the program to fail at runtime. It will terminate and display an error report.

The problem was caused by a change in the Windows operating system that affected Win32 FTN95 programs (not x64 and not .NET).

You should use a recent release of FTN95 or make the changes described above.
Back to top
View user's profile Send private message AIM Address
ljfarrugia



Joined: 06 Jun 2016
Posts: 43

PostPosted: Thu Dec 18, 2025 1:20 pm    Post subject: Reply with quote

Just to be 100% clear, for Windows 11 and 32 bit programs

If I use an older version of SALFLIBC.DLL then it will be necessary to recompile with a call to mask_underflow@() (presumably added near the start of the program?)

On the other hand if I use the most recent version of SALFLIBC.DLL then it will NOT be necessary to recompile with an added call to mask_underflow@()

If I compile a 64 bit version then this is not an issue, regardless of the version of SALFLIBC.DLL

Thanks Louis
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Dec 18, 2025 2:08 pm    Post subject: Reply with quote

Louis

Your summary is correct.
Back to top
View user's profile Send private message AIM Address
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