Skip to main content

Problem with CBL_READ_SCR_CHATTRS routine on UNIX platforms

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

A program, including the routine CBL_READ_SCR_CHATTRS, is generated using NetExpress and runs correctly on a Windows platform.  However, when porting this application to a UNIX platform under Server Express, the routine no longer works in that it no longer reads the screen attributes (backgound colours) of the screen.

Resolution:

The problem can be solved by inserting CBL_SCR_SET_PC_ATTRIBUTES at the beginning of the program.

Old KB# 4546