Calling crystal report 2013 file from powerbuilder 12.6
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
- 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.