Instalação VCL Crystal

29/11/2005

Galera estou seguindo o seguinte roteiro para instalação da VCL do Crystal no Delhi. Desculpem postar todo ele, mas não lembro de qual site retirei. O problema é que no final está dando o seguinte erro:

[Fatal Error] dcl5cr85.dpk(128): File not found: ´UCrpeReg.dcu´

Já procurei na minha máquina inteira e não achei esse arquivo. Alguém sabe como resolver esse problema? É na última etapa de instalação. Até aí funcionou perfeitamente, do jeito que está no roteiro.

How do you install the version 8.0/8.5 VCL into Delphi 6?
The information in the article refers to:
Crystal Reports 8.5

Applies to:

Reported version only
VCL
Delphi 6
Installation

Synopsis

When installing the Crystal Reports 8.0/8.5 Visual Component Library (VCL) for use with Delphi 6, the following warning is displayed:

´The Delphi 6.0 files directory could not be found! Locate it now?´

What steps should you follow to install the 8.0/8.5 VCL into Delphi 6?


====================
NOTE:

Registered users of Crystal Reports 8.0 or 8.5 can download the VCL for Delphi 6 at http://www.crystaldecisions.com/products/crystalreports/vcl/

====================


Solution

====================
NOTE:

If you previously installed the Crystal Reports 7 VCL into Delphi 6, follow these steps to remove it.

- In Delphi, go to the ´Component´ menu and select ´Install Packages´
- Highlight the 7 VCL from the list of installed packages.
- Click ´Remove´ and then click ´Yes´.

====================

Installing the Crystal VCL into Delphi 6 involves three parts:

1. Running the VCL install program.
2. Adding the ToolsAPI folder to the dcl5cr85.dpk search path.
3. Add the Delphi 6.0 ´DesignIDE.dcp´ package to the dcl5cr85.dpk ´requires´ section.



1. Running the VCL install program
==========================


1. Run the Cr85vcl.exe file. Click the ´Setup´ button to extract files and begin the Delphi VCL Installer.

2. Under the ´Introduction´ tab, click the ´Start´ button. Click the green check button to accept the license agreement.

3. Under the ´Delphi Version´ tab, select your Delphi version and package type then click ´Next´.

4. Under the ´Copy Files´ tab, click the ´Browse´ button to select a destination folder for the VCL. After clicking ´Next´, the following error occurs:

´The Delphi6.0 files directory could not be found! Locate it now?´

Click the ´OK´ button. The ´Locate the Delphi 6.0 directory…´ dialog box appears.

5. Browse to the folder where the Delphi 6.0 binary files are installed (such as C:\Program Files\Borland\Delphi6\Bin) and click ´OK´.

6. Under the ´Help File´ tab, click the ´Next´ button. Click ´OK´ to the message indicating the Help Installer is not supported by your version of Delphi.

7. Under the ´Compile´ tab, click the ´Compile´ button. The following error occurs:

´Package Source File does not exist! You must specify an existing Package.´

8. To resolve this error, open Windows Explorer and copy the contents of:

¬temp¬\WZSE0.TMP\Cr85vcl\delphi5

such as C:\Documents and Settings\Administrator\Local Settings\Temp\WZSE0.TMP\Cr85vcl\Delphi5

to the folder specified in the text box under ´Package Source´.

9. Click the ´Compile´ button then click the ´Install the Crystal VCL Component Now!´ button. Click ´OK´ to the ´Installation Complete!´ dialog box.


2. Adding the ToolsAPI folder to the dcl5cr85.dpk search path
============================================


1. In Delphi 6, click the ´File´ menu then click ´Open´. Select the dcl5cr85.dpk file located in the folder where the Crystal VCL is installed.

Click ´Yes´ to the ´Confirm´ dialog box and then click ´OK´ to complete the update.

2. In Delphi 6, click the ´Project´ menu and then click ´Options´. The ´Project Options´ dialog box appears.

3. Under the ´Directories/Conditionals´ tab, click the ellipse (…) button beside the ´Search path´ text box. The ´Directories´ dialog box appears.

4. Click the ellipse (…) button on the ´Directories´ dialog box. The ´Browse for Folder´ dialog box appears.

5. Browse to the ToolsAPI folder (such as C:\Program Files\Borland\Delphi6\Source\ToolsAPI) and click ´OK´.

6. Click the ´Add´ button on the ´Directories´ dialog box and then click ´OK´.

7. Click ´OK´ on the ´Project Options´ dialog box.


3. Add the Delphi 6.0 ´DesignIDE.dcp´ package to the dcl5cr85.dpk ´requires´ section.
====================================================


1. In the ´Package - dcl5cr85.dpk´ dialog box, scroll down to the bottom and select the ´Requires´ folder.

2. Click on the ´Add´ button. The ´Add´ dialog box appears.

3. Click the ´Browse´ button and browse to the location of the designide.dcp file (such as C:\Program Files\Borland\Delphi6\Lib\designide.dcp).

4. Click ´OK´ on the ´Add´ dialog box to return to the ´Package - dcl5cr85.dpk´ dialog box.

5. Click the ´Compile´ button. The compiler returns an error that is fixed by modifying two lines in the UCrpeReg.pas file.

====================
NOTE:

Borland has moved and renamed a few pieces of the Delphi 6 development environment from previous versions of Delphi.

====================

6. In the UCrpeReg.pas file, change line 13 (highlighted by the compiler) so it reads:

Classes, DesignIntf, designeditors;

Note: the second word DsgnIntf is also changed to DesignIntf

7. In the ´Package - dcl5cr85.dpk´ dialog box, click the ´Compile´ button.

8. In the UCrpeReg.pas file, change line 2588 (highlighted by the compiler) so it reads:

Proc(Designer.Root.Name);


9. In the ´Package - dcl5cr85.dpk´ dialog box, click the ´Install´ button. This registers the package.

10. Close the ´Package - dcl5cr85.dpk´ dialog box and click ´Yes´ to save changes to dcl5cr85.dpk.



The VCL component is now installed and available for use under the ´Data Access´ tab in Delphi 6.



--------------------------------------------------------------------------------
Category:
Subject:
Topic:
Keywords:
Development
VCL
Installation
DELPHI 6 INSTALL ERROR INSTALLATION VCL NOT FOUND DIRECTORY 8


--------------------------------------------------------------------------------
Product:
Crystal Reports Developer

Reported Version:
8.5.0.217 Crystal Reports Developer

Applies to:
Reported version only

Bit Version:
32 Bit

Dev Tool:
Delphi

Dev Platform version:
6


Peununes

Respostas

29/11/2005

Peununes

O erro aponta para essa linha:

UCrpeClasses in ´UCrpeClasses.pas´;

Ninguém se habilita?


Responder Citar

29/11/2005

Peununes

No roteiro o erro está em:

Item:

3. Add the Delphi 6.0 ´DesignIDE.dcp´ package to the dcl5cr85.dpk ´requires´ section.

SubItem:

9. In the ´Package - dcl5cr85.dpk´ dialog box, click the ´Install´ button. This registers the package.

Ninguém, ninguém, ninguém?!


Responder Citar

01/12/2005

Peununes

Alguém tem idéia de, pelo menos, onde consigo esses pas e dcu? Onde deveriam estar esses arquivos? Alguém tem para me passar? PELOAMORDEDEUS?!


Responder Citar

01/12/2005

Peununes

O erro no delphi é esse:

[Fatal Error] dcl5cr85.dpk(128): File not found: ´UCrpeReg.dcu´

ONDE ESTÁ ESSE ARQUIVO!!?!?!!?


Responder Citar

01/12/2005

Massuda

onde consigo esses pas e dcu? Onde deveriam estar esses arquivos?
Acho que você mesmo postou a resposta...

... Registered users of Crystal Reports 8.0 or 8.5 can download the VCL for Delphi 6 at http://www.crystaldecisions.com/products/crystalreports/vcl/ ...



Responder Citar

01/12/2005

Peununes

Mas eu já baixei o Cr85vcl.exe e instalei!! O problema está na hora de instalar o pacote.
No roteiro, é a penúltima linha, daí meu desespero! Morrer na praia não dá, né?!


Responder Citar