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 

GET_SCREEN_BLOCK@ was removed?

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



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

PostPosted: Wed Aug 01, 2018 8:41 am    Post subject: GET_SCREEN_BLOCK@ was removed? Reply with quote

My program crashed on this absent library function. Do not see it even in documentation while it is was OK just 3 years back. What's to do with this?
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 1967
Location: Sydney

PostPosted: Wed Aug 01, 2018 10:46 am    Post subject: Reply with quote

Dan,

See Appendix A. "Functions ported from DBOS"
page 429+ of clearwin.pdf (Feb 2000)

The replacement is :
CREATE_GRAPHICS_REGION@ etc.

John
Back to top
View user's profile Send private message
DanRRight



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

PostPosted: Thu Aug 02, 2018 2:06 pm    Post subject: Reply with quote

Thanks, John, somehow I missed two things: the change itself and the documentation notes about it.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Aug 03, 2018 8:12 am    Post subject: Reply with quote

GET_SCREEN_BLOCK@ is an old DBOS routine that can be accessed from salflibc.dll (i.e. 32 bits) because it is "hard-wired" to a Win32 replacement function.

The recommended replacement is GET_SCREEN_DIB@ which has the same arguments except that they are 32 bit values rather than 16 bit values.

GET_SCREEN_DIB@ is exported by clearwin64.dll. The Win32 replacement mentioned above is not currently exported by clearwin64.dll.


Last edited by PaulLaidler on Sun Aug 05, 2018 1:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
John-Silver



Joined: 30 Jul 2013
Posts: 856

PostPosted: Sun Aug 05, 2018 2:18 am    Post subject: Reply with quote

'elo 'elo I smell confusion round the corner if this isn't clearly documented everywhere it needs to be or it'll be whirling back like a boomerand a la the 'what's a handle' posts

When's a next major documentation update scheduled for Paul ?
(that's a re-wok, consolidation, of the whole documentation packahýg not just version updates or fixes/clarifications which I know are ongoing.
There myst have been some level of planning/preparation done in the last 4 years I've been on the list ?
_________________
"This is the triumph of folly.
The machine, which knows no rest, ought to remain a tool,
... but instead becomes our master and will swallow up our life and soul"
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 1808
Location: Yateley, Hants, UK

PostPosted: Sun Aug 05, 2018 10:20 am    Post subject: Reply with quote

John,

It's simpler than that. The graphics facilities provided for DOS with the DBOS extender were completely supplanted by Clearwin+a very long time ago. I went to the launch of Clearwin, which was around 1992. A handful of the DBOS graphics routines were also provided to ease the transition. But that was a quarter century or more ago, and we move on.

There's nothing to stop someone like Dan writing a routine for himself, using the obsolete name (but without the @) which internally uses the new(er) routines. If such a person was public-spirited, they would post it on the forum!

Eddie
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 -> ClearWin+ 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