Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Crystal 8 reports on machine with CR5 installed

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I have developed an application in Delphi 5 that incorporates a 'CRViewer' working against a SQL server 7.0 database. I have been successful in installing the applications on machines without having to have Crystal Reports installed - by including the required DLL's (i.e. p2sodbc.dll, p2ssql.dll) and registering 'CRViewer.dll' and 'Craxdrt.dll'. However when I follow this same procedure on a PC that has an old installed copy of Crystal Reports (version 5 in this case) the reports are displayed in the 'CRViewer' but the fonts and the positioning of the report items are wrong - the report looks a mess. Having tried to open the report in the installed copy of CR5 we get messages indicating that there is not enough memory for opening the report. Our only solution so far has been to uninstall version 5 and install version 8 (in which the reports were created).
Does anyone know if I can maintain the old version (5) of the Crystal Reports install and allow my application (with CR8 reports) to operate successfully ?
Thanks in advance.
Steve.
 
Have you tried coping crpe32.dll (1.28.00 - the Crystal 8.0 engine) into the winnt/crystal directory. I think the problem may be that custom app is using the crytal 5.0 engine instead of the 8.0 engine. This dll is normally located in the winnt/system32 directory but if you copy the dll then the crw5 may not work.
 
Thanks - but is there any way of allowing my application to operate and allow CR5 to run un-troubled alongside it ?
Anyone tell me if they've tried to achieve this ?
Thanks again
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top