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 

Deprecated calls
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
StamK



Joined: 12 Oct 2016
Posts: 139

PostPosted: Fri Dec 11, 2020 10:58 am    Post subject: Deprecated calls Reply with quote

Morning,
these calls used to work - just had to use include <dbos.ins> instead of <clearwin.ins>. But has something changed now? Thanks

__win_get_screen_block
__win_restore_screen_block
__win_close_vscreen
__win_open_vscreen
__win_vscreen_to_screen
__win_create_screen_block
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Dec 11, 2020 2:21 pm    Post subject: Reply with quote

StamK

These routines have been removed from the latest clearwin64.dll on the assumption that they would not be used. Also the interface was not coded correctly so it was also assumed that they were not in current use.

They are very old DBOS routines but if they were actually doing something useful in your 64 bit code then they could easily be restored.
Back to top
View user's profile Send private message AIM Address
StamK



Joined: 12 Oct 2016
Posts: 139

PostPosted: Fri Dec 11, 2020 9:53 pm    Post subject: Reply with quote

We are currently using them (but not recently tested!) so please reinstate them when you can. Thanks
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Sat Dec 12, 2020 2:19 pm    Post subject: Reply with quote

StamK

Please find a link to a new set of DLLs in your forum message box.
Back to top
View user's profile Send private message AIM Address
StamK



Joined: 12 Oct 2016
Posts: 139

PostPosted: Sat Dec 12, 2020 5:47 pm    Post subject: Reply with quote

Thanks Paul - by the way I haven't received anything in my Messages inbox yet.
Back to top
View user's profile Send private message
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 260

PostPosted: Wed Jan 20, 2021 3:39 pm    Post subject: Reply with quote

We use these routines, too, however, for ftn95 version 8.70 they are unresolved when linking with slink64.

Regards,
Dietmar
Back to top
View user's profile Send private message
John-Silver



Joined: 30 Jul 2013
Posts: 1507
Location: Aerospace Valley

PostPosted: Wed Jan 20, 2021 9:30 pm    Post subject: Reply with quote

Paul scribe-led ...
Quote:
... on the assumption that they would not be used


does that mean it only works on 15th August ??? Wink

... and if your names Mary, obviously Smile
_________________
''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... Smile "
Back to top
View user's profile Send private message
John-Silver



Joined: 30 Jul 2013
Posts: 1507
Location: Aerospace Valley

PostPosted: Wed Jan 20, 2021 9:37 pm    Post subject: Reply with quote

astute observations aside, will the re-instatement 'fix' be made generally available ?
_________________
''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... Smile "
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2268
Location: Sydney

PostPosted: Thu Jan 21, 2021 2:32 am    Post subject: Reply with quote

Arn't these F77/DBOS routines that predate FTN95 and clearwin+ ?
I would think that updating to new routine names, that are documented, would be preferable.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Jan 21, 2021 8:21 am    Post subject: Reply with quote

These routines have been reinstated and new DLLs are available on request for users of v8.70.
Back to top
View user's profile Send private message AIM Address
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 260

PostPosted: Thu Jan 21, 2021 10:45 am    Post subject: Reply with quote

For your information:
symbols __win_get_screen_block etc. are unresolved in our compiles for the 64 bit executables (via ftn95 version 8.70) because they are contained in file dbos.ins and we need to include dbos.ins in special situations to get rid of other problems in our 64 bit build. We do not use these symbols "directly" in our code base.

For ftn95 version 8.63 these symbols were resolved in the link step.

Dietmar
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2268
Location: Sydney

PostPosted: Thu Jan 21, 2021 1:27 pm    Post subject: Reply with quote

perhaps you could create dbos_64.ins with the following adjustments
Code:
!      C_EXTERNAL GET_SCREEN_BLOCK@ "__win_get_screen_block"(REF,REF,REF,REF,REF)
!      C_EXTERNAL RESTORE_SCREEN_BLOCK@ "__win_restore_screen_block"(REF,REF,REF,REF,REF)
!      C_EXTERNAL CREATE_SCREEN_BLOCK@ "__win_create_screen_block"(REF,REF,REF,REF)
!      C_EXTERNAL CLOSE_VSCREEN@ "__win_close_vscreen"()
!      C_EXTERNAL OPEN_VSCREEN@ "__win_open_vscreen"(REF,REF)
!      C_EXTERNAL VSCREEN_TO_SCREEN@ "__win_vscreen_to_screen"(REF,REF,REF,REF)
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Jan 21, 2021 2:21 pm    Post subject: Reply with quote

I think that there is something wrong here.

If a C_EXTERNAL interface is provided but not called then it should not be listed as a missing external at link time.
Back to top
View user's profile Send private message AIM Address
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 260

PostPosted: Thu Jan 21, 2021 5:09 pm    Post subject: Reply with quote

Sorry, my mistake, I searched for the wrong string in my last post.

We use e.g. GET_SCREEN_BLOCK@ when building a 64 bit GUI app and that's why we included dbos.ins and as a consequence __win_get_screen_block needs to be resolved.

Are the new dlls a problem?

Regards,
Dietmar
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Jan 21, 2021 5:33 pm    Post subject: Reply with quote

There is no known problem with the new DLLs.
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 -> 64-bit All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 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