Last issue before releasing my application using R3.
Below SaveAs command returns a -1 to li_ret.
This works on the computer where R3 is installed using gs8.63 GhostScript
The same code works under Powerbuilder 2019 Runtime using gs8.63 GhostScript.
Tried ...
I just tried using gs9.53.3 GhostScript for R3 Runtime. Still not working
I just loaded the entire contents of Runtime 19.2.0.2670 folder in R3 into my folder containing the runtime R3
Still giving me same error.
dw_dataWindow.Object.DataWindow.Export.PDF.Method = Distill!
li_ret = dw_dataWindow.SaveAs(ls_path, pdf!, true)
FWIW: I upgraded all my PC's to GS 9.53.3 last week. All PB versions (12.6 thru 2021 beta) are working well with this release on my W10 20H2 version. Also tested this combination on Windows 2016 & 2019 VMs with PB2017R3, 2019R2/R3 & PB2021. No issues.
Regards ... Chris