A couple developers have asked whether the executable can be created without the TSAWARE flag not set.
When an application is not Terminal Server aware (also known as a legacy application), Terminal Server makes certain modifications to the legacy application to make it work properly in a multiuser environment. This is true for many PowerBuilder applications built with older versions of PB.
This behavior is controlled by a setting in the PE header, TSAWARE, whose default was changed in Microsoft .Net 3.5 Framework SP1. When this flag is set, Terminal Server will not make certain changes to the application. This means that recent PowerBuilder versions create executables with this flag set and may not function as expected (or tested).
We have introduced a build option in PowerGen to control the state of this flag. Let us know if you want to try this.
Phil (E. Crane Computing)
C:\Program Files (x86)\Microsoft Visual Studio\201#\Enterprise\VC\Tools\MSVC
Note: The current plan is to add this compile option in the Project Painter for PB 2019 R3