Autor Beitrag
Killmag10
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Fr 01.09.06 09:36 
Hi habe folgendes Problem

Ich versuche eine kompo von D4 in D2005 zu bekommen...

ich habe folgende Datein:

ausblenden Quelltext
1:
2:
3:
4:
AdvProgressBar.dcu
AdvProgressbarreg.dcr
AdvProgressBarReg.dcu
AdvProgressBarReg.pas


nun habe ich die AdvProgressBarReg.pas in ein package eingefügt die AdvProgressbarreg.dcr hatt er logischerweise gleich mitgenommen

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
{********************************************************************}
{ TADVPROGRESSBAR component                                          }
{ for Delphi 3.0,4.0,5.0,6.0,7.0 C++Builder 3.0,4.0,5.0              }
{ version 1.0                                                        }
{                                                                    }
{ written by                                                         }
{       TMS Software                                                 }
{       copyright © 2003                                             }
{       Email : info@tmssoftware.com                                 }
{       Web : http://www.tmssoftware.com                             }
{********************************************************************}

unit AdvProgressBarReg;

interface

uses
  Classes, AdvProgressBar;

procedure Register;

implementation

procedure Register;
begin
  RegisterComponents('TMS', [TAdvProgressBar]);
end;

end.


mein problem

ausblenden Quelltext
1:
[Fatal Error] AdvProgressBarReg.pas(18): F2063 Could not compile used unit 'AdvProgressBar.pas'					


wie bekomme ich es hin das er die AdvProgressBar.dcu nimmt ?

mfg. Killmag10

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik
Robert.Wachtel
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 895
Erhaltene Danke: 7

Windows 7 Ultimate x64
D5 Ent, D7 Arch, RAD Studio 2010 Pro, VS 2008
BeitragVerfasst: Fr 01.09.06 10:06 
user profile iconKillmag10 hat folgendes geschrieben:
[...] wie bekomme ich es hin das er die AdvProgressBar.dcu nimmt ? [...]


Schlicht und ergreifend gar nicht. Du benötigst definitiv den Quellcode der Unit.
Killmag10 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Fr 01.09.06 10:13 
user profile iconRobert.Wachtel hat folgendes geschrieben:
user profile iconKillmag10 hat folgendes geschrieben:
[...] wie bekomme ich es hin das er die AdvProgressBar.dcu nimmt ? [...]


Schlicht und ergreifend gar nicht. Du benötigst definitiv den Quellcode der Unit.


aber wiso ging das in D4 noch ?

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik
Robert.Wachtel
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 895
Erhaltene Danke: 7

Windows 7 Ultimate x64
D5 Ent, D7 Arch, RAD Studio 2010 Pro, VS 2008
BeitragVerfasst: Fr 01.09.06 11:27 
Eine .dcu ist immer für eine spezielle Compiler-Version. Deine .dcu wird dementsprechend für Dein Delphi 4 entsprechend sein.

dcu steht übrigens für Delphi Compiled Unit.