In TD6.3 Update 2, calling SalReportPrint gives error 1

Report bugs and possible workarounds.
davidpritchard
Spain
Posts: 46
Joined: 11 Sep 2018, 11:29
Location: Madrid, Spain

In TD6.3 Update 2, calling SalReportPrint gives error 1

Post by davidpritchard » 01 Apr 2016, 15:36

In TD6.3 Update 2, calling SalReportPrint gives error 1 (error loading DLL). Is there any way to know *which* DLL? All the deploy DLLs are in the path (I even dumped the entire contents of TD 6.3 into the same directory to see whether it would help; it didn't).
Is this something that might be fixed in sp1?

davidpritchard
Spain
Posts: 46
Joined: 11 Sep 2018, 11:29
Location: Madrid, Spain

Re: In TD6.3 Update 2, calling SalReportPrint gives error 1

Post by davidpritchard » 01 Apr 2016, 16:18

We've managed to get around the problem, but there's a bug in TD6.3.

Before calling SalReportPrint we were setting nErr to 1, meaning "show errors on screen". But then, illogically, we were also passing the flag RPT_PrintNoErrors. In previous versions this contradiction caused no problems. But it seems as if causes TD6.3 to return nErr = 1 from the function, and then hang on exiting (the executable stays in memory).

Simply leaving nErr at 0 before the call solves the problem.

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 0 guests