First, let's start with some basic information. We use PowerBuilder 12.5 (Classic) (build 5703) on our workstations with Windows 7. Our application runs great, no harm there.
We use a Windows 2012R2 server for our remote work, whenever we are not at the office, and our application crashes when we close a specific window. Only on that window. Closing other windows with the same technique (CloseWithReturn) works like you would expect.
Attached you will find a screenshot of the difference in pbdebug file (*.dbg) where the error occurred. On the left, the one form our workstation, thus working correct. On the right, the one from the remote server.
Also attached you see the error form the Windows event log and our setup for the remote server roles.
Hope you guys can help/point me in the right direction to fix this issue.