replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - select_printer@
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 

select_printer@
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
IanLambley



Joined: 17 Dec 2006
Posts: 506
Location: Sunderland

PostPosted: Mon Jun 16, 2025 11:47 am    Post subject: Reply with quote

Just a small point, I'm using the dlls which you provided on 8th April.
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


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

PostPosted: Mon Jun 16, 2025 4:01 pm    Post subject: Reply with quote

Ian

You can use the latest FTN95 and DLLs downloadable from this Forum but there is no reason to expect any improvement for select_printer@.
Back to top
View user's profile Send private message AIM Address
IanLambley



Joined: 17 Dec 2006
Posts: 506
Location: Sunderland

PostPosted: Tue Jun 17, 2025 10:28 am    Post subject: Reply with quote

The problem occurred with FTN95/x64 Ver 9.10.4.0, with the dlls etc. dated 8th April 2025. I have returned to using Ver 9.10.0.0; the crash still occurs.
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


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

PostPosted: Tue Jun 17, 2025 10:44 am    Post subject: Reply with quote

The latest available update is to version 9.12 dated 31 May 2025.

See http://forums.silverfrost.com/viewtopic.php?t=4245.
Back to top
View user's profile Send private message AIM Address
IanLambley



Joined: 17 Dec 2006
Posts: 506
Location: Sunderland

PostPosted: Wed Jun 18, 2025 11:37 am    Post subject: Reply with quote

I've tried that and still have the same fault.
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


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

PostPosted: Wed Jun 18, 2025 4:26 pm    Post subject: Reply with quote

The next release of salflibc64.dll includes an extenion to TRAP_EXCEPTION@ for x64. Here is some sample code that illustrates the extension.

Code:
integer(7) function Handler()
 include <EXCEPTN.INS>
 print*,"Processing Handler"
 Handler = CONTINUE_EXECUTION
end function

integer(7) function Handler0()
 include <EXCEPTN.INS>
 print*,"Processing Handler0"
 Handler = NONCONTINUABLE_EXCEPTION
end function

program test
 integer,parameter::INT_DIVIDEBY_ZERO=14
 integer(7),external::Handler,Handler0
 integer(7) prevHandler,TRAP_EXCEPTION@
 !Note: TRAP_EXCEPTION@ returns integer(7).
 prevHandler = TRAP_EXCEPTION@(INT_DIVIDEBY_ZERO, Handler0)
 prevHandler = TRAP_EXCEPTION@(Z'80010012',       Handler)
 i = 0
 k = 10/i
end program test


The extension allows the exception number Z'80010012' to be used as the first argument.

If recovery after exception Z'80010012' is possible then CONTINUE_EXECUTION can be used in the handler.

If recovery is not possible (as in divide by zero) then NONCONTINUABLE_EXCEPTION must be used.

This will allow you to test if the exception is literally an error or something that will be absorbed later within the relevant Windows API call.

p.s. I am assuming that it is an internal Microsoft error that hopefully they will fix in due course.
Back to top
View user's profile Send private message AIM Address
IanLambley



Joined: 17 Dec 2006
Posts: 506
Location: Sunderland

PostPosted: Thu Jun 19, 2025 6:36 pm    Post subject: Reply with quote

Paul,
Thanks for looking into it. Is there an upfront release available so I can test it?
Regards
Ian
Back to top
View user's profile Send private message Send e-mail
IanLambley



Joined: 17 Dec 2006
Posts: 506
Location: Sunderland

PostPosted: Sat Jun 21, 2025 10:50 am    Post subject: Reply with quote

Paul,
Well done, that has done the trick. Normally it crashed within a few seconds. The print statement in the handler notified me that the exception has occurred.
The program kept on running.
Print statement removed and it still works.
Regards
Ian
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
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