My client run our software written with Delphi 5 on a windows rds Server 2008 for several years without problems. The program ist stored on the server and all users open it via network.
Just for the records: we use a MS SQL-Server and connect to it via ODBC and BDE.
Now he upgraded to rds server 2019 and since then, from time to time the error 0xc0000006 is thrown when a user starts the program.
We activated compatibility mode for win 8/7/Vista and in this mode the error occurs not when starting the program, but during runtime. As soon as 1 user gets the error, all other users cannot work any more and must restart their programs.
I searched for a solution and, in most cases, the suggestion was to use a compiler-flag ($SetPeFlags) to force windows to load the program completly in memory.
Unfourtunately this flag isn’t supported by Delphi 5.
Is there another way to either tell Delphi or the windows server to load the prgram completely in mem?
TIA