Hi,
I've been using the following example code to call crystal report 9 files from powerbuilder
- oleobject CRXApplication
- oleobject CRXReport
- CRXApplication = Create OLEObject
- if CRXApplication.ConnectToNewObject("CrystalRunTime.Application")=0 then
- CRXReport = create OLEObject
- CRXReport.SetAutomationpöointer(CRXApplication.Openreport("d:\temp\test.rpt"))
- end if
Now I've upgraded crystal to 2013 but can't call the reports from powerbuilder.
ConnectToNewObject returns -2.
Anybody with the solution to that.