Problems with DATAFIT.INI in QAB - K4000032 - 15 Aug 2001

QAB Programs that rely on DATAFIT.INI settings for correct operation may not behave as intended after calling another program.

When a QAB program is started it calls the function trm_set_progname() to inform the terminal manager of the appropriate DATAFIT.INI section to use. This is also done for programs started from another program with %CALL, unless the %OVERLAY option is used. However, up till now, on returning from the called program QAB did not call trm_set_progname() to reset the program name, so that the name of the last loaded program continued to be used for DATAFIT.INI settings.

With this bug fix QAB resets the program name correctly. In addition a change has been made to the terminal manager: when a program terminates DATAFIT.INI is updated with the size and position of the window, so that next time it is run it will start in the same place. Now DATAFIT.INI is also updated like this whenever trm_set_progname() changes the name of the program. Prior to this change it was be very difficult to set the position for a QAB program that was always called from another QAB program.

These changes may cause minor problems for some existing systems. For example, a system might have relied on the repositioning of the QAB window done when another QAB program is called to position the calling program as well. In this case it will be necessary to edit appropriate positioning information into DATAFIT.INI for the calling program.

DP4 Products/Versions Affected

4.5xx,4.6xx

This bug fix has NOT been applied to the existing 4.617/4.522 DP4 software but only to the forthcoming 4.523/4.619 release.

You will require the new version of usrlibt.dll to use this bug fix with existing versions of DP4.

Where the version affected is given as 4.5xx or 4.6xx, all versions of DP4 issued prior to the date of the fix are potentially affected. Where a specific version number is given the problem was introduced by that release and prior releases are unaffected. If a patch release number is also specified (in parentheses) , the fault was introduced at that specific patch level.

Downloads

4.619 Win32 Progrun, QAB Libraries and Terminal Manager.
Due to limitations on available web space downloadable fixes are only available for the most commonly used environments, and may not be separately available in both 4.5xx and 4.6xx flavours. If a file you require is not available you can ask us to e-mail it to you.