Silverfrost Forums

Welcome to our forums

GET_SCREEN_BLOCK@ was removed?

1 Aug 2018 7:41 #22416

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?

1 Aug 2018 9:46 #22417

Dan,

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

The replacement is : CREATE_GRAPHICS_REGION@ etc.

John

2 Aug 2018 1:06 #22425

Thanks, John, somehow I missed two things: the change itself and the documentation notes about it.

3 Aug 2018 7:12 (Edited: 5 Aug 2018 12:14) #22432

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.

5 Aug 2018 9:20 #22444

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

Please login to reply.