Link to home
Start Free TrialLog in
Avatar of red_2
red_2

asked on

Installing Components from dcu-files

I'm using Delphi 3.0, and I have some 3rd party components which only include the .dcu files (no .dpk or .pas). I haven't been able to install them because Delphi gives an error when I try to build a package with them. The error is that Delphi cannot find the .pas file for the component, but I thought  that wasn't necessary. Does anybody know what the problem is?
Avatar of kretzschmar
kretzschmar
Flag of Germany image

hi red 2,

you must get the dcu-files for your current delphi-version AND release,
otherwise you've no chance to install this components.

contact the developer of these components

meikl
ASKER CERTIFIED SOLUTION
Avatar of DrDelphi
DrDelphi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rwilson032697
rwilson032697

Listening
Avatar of red_2

ASKER

The dcu's are compiled in Delphi 2.0. Is there no way to make them work in 3.0 (other than rebuilding them from the source, which I don't have)?
Nope, sorry. Each version of Delphi compiles in a binary format properiarty to that version. Meaning that a DCU compiled in 2 won't work in 3, 3 in 4, etc, etc.. Your only recourse at this point is to obtain eithera Delphi 3 version  of the DCU or the original source PAS files.



Good luck!!