Autor Beitrag
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Sa 14.02.09 21:44 
ausblenden Delphi-Quelltext
1:
[Fataler Fehler] Project1.dpr(5): Unit Windows wurde mit einer unterschiedlichen Version von Types.DWORD compiliert					

Diesen Fehler erhalte ich bei Ausführen eines - leeren! - Projekts. Auch Projekte, die ich vor einigen Wochen noch problemlos ausführen konnte, geben mir dieselbe Meldung zurück. In der Delphi-Hilfe steht, ich soll die betreffende Unit nochmal neu compilieren. Aber wie finde ich diese Unit? Neuinstallation würde ich eher ungern machen...

HELP!!

_________________
Die Lösung ist nicht siebzehn.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 14.02.09 22:00 
Da scheint es die Windows.dcu im lib-Verzeichnis aus Versehen mal neu Compiliert worden zu sein.

Einfachste Möglichkeit: Von der Install-CD die alten Versionen aller DCUs im LIB-Verzeichnis von Delphi wiederherstellen; ansosnten Delphi neu installieren.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Mitmischer 1703 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Fr 20.02.09 22:42 
Ne, hat nicht funktioniert... :cry: Ich verdächtige irgendein Windows-Update :idea:!

_________________
Die Lösung ist nicht siebzehn.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1753

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 20.02.09 22:47 
Was hat die Unit Windows von Delphi mit einem Update des Betriebssystems zu tun? :gruebel:

Ich vermute du hast eine Datei Windows.dcu im Suchpfad / Projektordner / ... drin. Delphi findet diese, findet dazu keinen Quelltext, deshalb die Fehlermeldung. Such mal nach einer solchen Unit, ggf. einfach auf der ganzen Platte.