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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Viewer on Windows XP platform

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I've supplied the 'Crviewer.dll' / 'Craxdrt.dll' to users in the past for the registration of the CRviewer for use in my Borland Delphi application that makes use of the Crystal Reports Viewer component.
It has been suggested to me that the version(s) supplied of these files is are only up to NT - are there Windows XP versions of these files available somewhere ?
Or can someone suggest what versions should / will work on Windows XP ?

The versions are :
'Crviewer.dll' : 8.0.0.371 (dated 28/01/2000 09:19)
'Craxdrt.dll' : 8.0.0.371 (dated 28/01/2000 16:16)

The batch file I make use of reads as follows :
"@ECHO OFF
REM Batch file to register 'CRaxdrt.dll' and 'CRViewer.dll'
ECHO.
ECHO Checking for Operating System

IF EXIST C:\Windows\System\RegSvr32.exe GOTO 9X
IF EXIST C:\Winnt\System32\RegSvr32.exe GOTO NT
IF EXIST c:\WINDOWS\system32\RegSvr32.exe GOTO XP
REM If we have got here then we are unable to find either.
ECHO Unable to determine Operating System. Please register the dll's maunally.
PAUSE

:9X
REM Windows 9X Operating System
ECHO About to register Dll's for Windows 9X
PAUSE
C:\Windows\System\RegSvr32 Craxdrt.dll
C:\Windows\System\RegSvr32 CRViewer.dll
GOTO END

:NT
REM Windows NT Operating System
ECHO About to register Dll's for Windows NT
PAUSE
C:\Winnt\System32\RegSvr32 Craxdrt.dll
C:\Winnt\System32\RegSvr32 CRViewer.dll
GOTO END

:XP
REM Windows XP Operating System
ECHO About to register Dll's for Windows XP
PAUSE
C:\Windows\System32\RegSvr32 Craxdrt.dll
C:\Windows\System32\RegSvr32 CRViewer.dll
GOTO END

:END
ECHO End of batch program.
PAUSE
"

This seems to work OK on previous platforms (namely Windows 95, NT, 2000, etc.)

Can anyone suggest what versions I should be using on Windows XP for a clean run at it ?
Thanks in advance
Steve


 
On posting this same message on another forum site, someone has suggested that we should only be using CR9 on Windows XP - and that versions CR8 / CR8.5 may or may not work on Windows XP and furthermore it was implied that Crystal would not talk about those versions on XP.
Is there any truth behind this ?
Thanks,
Steve
 
There are no XP specific drivers.

v8/8/5 hit market prior to XP being publicly available so full support would be a bit unreasonable (I suppose). I have been running CR on several XP boxes since XP came out without any issues.

You have failed to metnion if you are seeing an error when registering these files on the XP boxes. Are you? What is the error?

Have you made sure the dependency files are present (see runtime.hlp for a list of dependencies).

You should also make sure that you are running your batch while logged as the machine Admin or an account with full access to the box to ensure registrations can happen.

Cheers,

SurfingGecko
Home of Crystal Ease
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top