xsharp.eu • Using ReportPro2
Page 1 of 1

Using ReportPro2

Posted: Mon Oct 14, 2019 8:31 am
by UlrichT
I am trying to use ReportPro2 and get the following error:

errorXS0144: Cannot create an instance of the abstract class or interface 'ReportPro2.RpReport'
Here is the code:
cRepPfad:="C:/test/"
ciniPfad:=cRepPfad
cReportName:="Test.rpt"
oReport := RpReport {SELF , cRepPfad+cReportName, cIniPfad } <--- ERROR

I have referenced:
ReportPro2.Base.dll
ReportPro2.English.dll
Report.Pro2.Export.dll
ReportPro2.Runtime.dll
ReportPro2.UDF.dll
System
System.Drawing
System.Windows.Forms
VOGUIClasses
VORDDClasses
VOSystemClasses
XSharp.RT
XSharp.VO

A #using ReportPro2 also does not help.

What am I missing?
Ulrich

Using ReportPro2

Posted: Mon Oct 14, 2019 4:50 pm
by Chris
Hi Ulrich,

Please see Wolfgang's reply in the other thread: https://www.xsharp.eu/forum/public-vo-v ... reportpro2