| View previous topic :: View next topic |
| Author |
Message |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8316 Location: Salford, UK
|
Posted: Sat Feb 15, 2025 4:26 pm Post subject: Warning:Windows 11 24H2 |
|
|
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 |
|
 |
ljfarrugia
Joined: 06 Jun 2016 Posts: 43
|
Posted: Thu Dec 18, 2025 10:50 am Post subject: |
|
|
| Can I ask what is the likely result of a program not recovering from underflow? Is seizing up a likely result? |
|
| Back to top |
|
 |
Robert

Joined: 29 Nov 2006 Posts: 463 Location: Manchester
|
Posted: Thu Dec 18, 2025 12:29 pm Post subject: |
|
|
| 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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8316 Location: Salford, UK
|
Posted: Thu Dec 18, 2025 12:33 pm Post subject: |
|
|
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 |
|
 |
ljfarrugia
Joined: 06 Jun 2016 Posts: 43
|
Posted: Thu Dec 18, 2025 1:20 pm Post subject: |
|
|
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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8316 Location: Salford, UK
|
Posted: Thu Dec 18, 2025 2:08 pm Post subject: |
|
|
Louis
Your summary is correct. |
|
| Back to top |
|
 |
|