cancel
Showing results for 
Search instead for 
Did you mean: 

Launching other datasources using, the .NET runtimes.

Former Member
0 Kudos

Hello,

Was wondering, using a Delphi app as a report launcher is it possible to launch a crystal report written with a JDBC driver from a Delphi application utilizing the .NET runtimes, or any runtimes? Without having to resort to loading a java application to launch and run the report? Tried it a couple of times and get the following error.

Failed to obtain Version Information from CRPE32.DLL - GetCrpeVersion <GetVersionInfo>

Windows Error Number: 1812 - The specified image file did not contain a resource section

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

The only way to work with CR and Delphi is to use the either the RDC or the VCL. RDC is only possible up to version XI r2 as CR 2008 does not ship the RDC. The VCL can be used, however:

1) You will have to download VCL for CR XI release 1

2) You will have to follow the attached doc on updating the VCL to CR XI r2 or CR 2008

3) As the VCL is considered a deprecated technology, use of the VCL is not supported. Specifically, this means that issues with the VCL will not be escalated to R$D for a resolution.

VCL for CR XI r1 can be downloaded from here:

http://ftp1.businessobjects.com/outgoing/products/vcl/crystalvcl11.zip#

Edited by: David Hilton on Jul 14, 2008 9:36 AM

added attachment

Answers (5)

Answers (5)

Former Member
0 Kudos

Just an EExternalException with message 'External exception C0000008' at TPECloseEngine(CrpeCloseEngine); in crdynamic.pas in procedure TRPEEngine.PECloseEngine. this is a call to crpe32.dll. That passes a reference, to the engine.

Former Member
0 Kudos

Everything seems to be working I think the crpe32.dll commonfilepath, and versions was maybe the most important step, but as I play with the VCL I notice that the report after loading in the engine throws a external Exception when I go to close the database engine any ideas?

former_member183750
Active Contributor
0 Kudos

What's the exception?

Former Member
0 Kudos

Ludher answer from earlier about updating the VCL component to release 2 is that really going to help in launching my JDBC based reports? Is my real issue just a versioning issue?

former_member183750
Active Contributor
0 Kudos

I don't think versioning is the issue. Or JDBC. Theoretically, JDBC is just another datasource. I am under the impression that you prefer to use Delphi to code your app. If that is the case, then VCL is the way to go. You could use the RDC with Delphi, but CR XI r2 is that last version of CR to ship the RDC, so you have alimited life cycle for your app. If you want to use the CR .NET assemblies, use MS .NET, not Delphi as the CR .NET assemblies do not work with Delphi.

Former Member
0 Kudos

I'm using crystal reports release 2, with a JDBC connection, I was thinking it was dll, so I installed Merge modules for Crystal Reports.

former_member183750
Active Contributor
0 Kudos

Delphi and CR XI r2 .net assemblies are pretty much a no go.

Former Member
0 Kudos

Hi;

There is a VCL for Crystal Reports up to version XI, you can download it from our web site. From the error you are getting, it sounds like you already have it, but the version may not match your version of Crystal Reports. Which version are you using?

Regards,

Jonathan