Using Dynamics GP (any version) on Server 2019, you get this error:
Attempted to read or write protected memory, This is often an indication that other memory is corrupt
BTW, I think that this is likely to happen with Office products, too. The solution is below.
Edit 2/25/2021 when you open a form in Dynamics GP that has VBA behind it, GP unceremoniously shuts down. Blink.