Autor Beitrag
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Mi 13.07.05 20:30 
Hallo. Wenn ich unter D2005 Projektansicht, daten-Explorer ne Unit (Unit1) in HF umbenenne, kommt beim Compiliren der fehler
Zitat:
Datei Unit1.dfm nicht gefunden

Dabei soll er doch HF.dfm suchen. Was geht da schief, mach ich wsa falsch?


Moderiert von user profile iconGausi: Topic aus Off Topic verschoben am Do 14.07.2005 um 15:14
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 14.07.05 14:39 
Vielleicht steht in der Unit

{$R Unit1.dfm}

Wenn ja, ersetze es durch

{$R *.dfm}

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Fabian W. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Do 14.07.05 14:52 
Wobei * der neue Dateiname sein soll?
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 14.07.05 15:00 
* heißt alle Dateien, das ist eigentlich der Standard, da kann natürlich auch der Dateiname der Datei stehen.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Fabian W. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Do 14.07.05 15:02 
Was * heißt weis ich, nur kam mir das grad spanisch vor, weil er ja eine bstimmte alden soll. Ich versuch's.


//EDIT: Da steht schon ein *
Zitat:
[Fehler] E1026 Datei nicht gefunden: 'Unit1.dfm'

Wenn ich draufglicke zeigt er auch keine Quellcodestelle.


Zuletzt bearbeitet von Fabian W. am Do 14.07.05 15:06, insgesamt 1-mal bearbeitet
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 14.07.05 15:06 
* ist ein bestimmtes Zeichen, was so viel wie jedes beliebige Zeichen und beliebig viele heißt. Es gibt auch ? (glaube ich zumindest), was ein beliebiges Zeichen.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Do 14.07.05 15:08 
in der beziehung bedeutet der stern, dass der dateinamen des formulars dem der unit entspricht
unit1.pas {$R *.dfm} -> includet unit1.dfm

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Fabian W. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Do 14.07.05 18:41 
Die Unit heißt jetzt aber HF und net Unit1.
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 14.07.05 19:06 
Dann includet sie halt HF.dfm... :)

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Do 14.07.05 19:12 
Hallo,

ich habe nicht verstanden wie du die Datei umbenant hast? Im Windows Explorer? dann muss es ja probleme geben. Du könntest über "In Dateien suchen" ja mal nach deiner unit1 fanden, mit etwas glück solltest du damit die problematische(n) stelle(n) finden können.

Gruß
Klabautermann
Fabian W. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Do 14.07.05 21:18 
Nein, ich hba das net im Windows-Explorer umbenannt - soweit kommt's noch.
Ich habs mit D2005 im Fenster Projektübersicht gemacht. da ändert er dann alles automatisch, sodass es eigentlich funzen müsste.

Ich schreib mal Hf.dfm hin.
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: Do 14.07.05 21:33 
Ansonsten versuch mal, deine Unit per Speichern-unter "umzubenennen".
Fabian W. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Fr 15.07.05 15:21 
Auch wenn ich Hf*dfm reinschreib findet er keine Unit1, sucht also immer noch danach.
@JayK: Wird bei 20 Units zu langwierig.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Fr 15.07.05 15:25 
user profile iconFabian W. hat folgendes geschrieben:
Auch wenn ich Hf*dfm reinschreib findet er keine Unit1, sucht also immer noch danach.

heisst deine unit also hf1.pas versucht der compiler dann eine Hfhf1.dfm zu finden, die logischerweise nicht existiert
schreib einfach den vollen name deiner form datei hinein, z.b. {$R HF1.dfm}

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Fr 15.07.05 15:30 
user profile iconFabian W. hat folgendes geschrieben:
Nein, ich hba das net im Windows-Explorer umbenannt - soweit kommt's noch.

Ok, hast du mal in allen Units nach "unit1" (nicht "HF") gesucht? Irgenwo muss das ja noch drin sehen.

Gruß
Klabautermann
hallo
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 450

WIN XP, SuSE 9.3
D3 Prof, D6 Pers, 2005 Pers
BeitragVerfasst: Fr 15.07.05 15:34 
Ja, es müsste auch noch in der Project1.dpr drin stehen oder wie du es gennant hast!

Allerdings gibt es dieses Problem schon länger, dass er nach dem Umbennenen was nicht mehr findet! Das haben auch mal ein paar bei uns in Info gemacht: Wir haben es nicht mehr hingekriegt.

Wenn du Pech hast, dann steht es in einer kompilierten dcu drin...

_________________
Der beste je Programmierte Trojaner: Windows XP
Wäre es nicht adequat, den Usus heterogener Termini zu minimieren?