AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Delphi don't recompile changed code

Ein Thema von WojTec · begonnen am 26. Jun 2012 · letzter Beitrag vom 27. Jun 2012
Antwort Antwort
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

Delphi don't recompile changed code

  Alt 26. Jun 2012, 20:23
As in subject. When I edit and press F9 then Delphi don't build new EXE I have to delete DCUs, then make next edit in code (eg. add line or space, etc.) and then finally I reveive new EXE. I see it creates CBK for changed units.

I have this Delphi installation for 3 years and always was ok. I have GExperts and CnWizards, maybe it's bug in one of them?

PS: Delphi 2010.
  Mit Zitat antworten Zitat
Benutzerbild von Stevie
Stevie

Registriert seit: 12. Aug 2003
Ort: Soest
4.012 Beiträge
 
Delphi 10.1 Berlin Enterprise
 
#2

AW: Delphi don't recompile changed code

  Alt 26. Jun 2012, 23:17
Is that problem reproducable with a new blank application or only specific to a certain project?

Make sure the date/time settings of your computer are correct, they might confuse the compiler. Also if you are editing the correct files (might be duplicates of what the project uses). Check for possible dcus somewhere that might be taken.

As a side note: you don't need to delete the dcu files. Hit Shift+F9 which does a build instead of a compile.
Stefan
“Simplicity, carried to the extreme, becomes elegance.” Jon Franklin

Delphi Sorcery - DSharp - Spring4D - TestInsight
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#3

Re: Delphi don't recompile changed code

  Alt 27. Jun 2012, 09:18
Problem is with any project, existing and new. System settings are ok.
  Mit Zitat antworten Zitat
Benutzerbild von jaenicke
jaenicke

Registriert seit: 10. Jun 2003
Ort: Berlin
9.360 Beiträge
 
Delphi 11 Alexandria
 
#4

AW: Delphi don't recompile changed code

  Alt 27. Jun 2012, 09:59
The easiest solution should be to restore your last backup of your computer. Those problems are not easy to find, so you would save a lot of time...

Otherwise you can try to use Process Monitor to find out what Delphi does when compiling the project and which files are read.
Sometimes you see weird paths where files with the same name exist, which were in my case caused by a component's setup which unfortunately was only available as setup (I hate this...).
Sebastian Jänicke
Alle eigenen Projekte sind eingestellt, ebenso meine Homepage, Downloadlinks usw. im Forum bleiben aktiv!
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#5

Re: Delphi don't recompile changed code

  Alt 27. Jun 2012, 11:37
My W7x86 has near 3 years, I see it's time to make format and maybe try W7x64 + DXE2.

BTW: CBK files are created by which program? Maybe this is problem?
BTW2: is sense to install x64 system? I have Core 2 Duo 2.13 and 3GB RAM.

Geändert von WojTec (27. Jun 2012 um 11:41 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von jaenicke
jaenicke

Registriert seit: 10. Jun 2003
Ort: Berlin
9.360 Beiträge
 
Delphi 11 Alexandria
 
#6

AW: Re: Delphi don't recompile changed code

  Alt 27. Jun 2012, 12:57
My W7x86 has near 3 years, I see it's time to make format
I make a backup after installing everything. If I want to install a new software permanently, I restore the last backup, install it and make a new backup.

This way I always have a fresh and fast system without garbage.

BTW2: is sense to install x64 system? I have Core 2 Duo 2.13 and 3GB RAM.
It does work without any problems with 3GiB, but I don't think that it's neccessary if everything is ok for you with x86.
Sebastian Jänicke
Alle eigenen Projekte sind eingestellt, ebenso meine Homepage, Downloadlinks usw. im Forum bleiben aktiv!
  Mit Zitat antworten Zitat
Benutzerbild von Stevie
Stevie

Registriert seit: 12. Aug 2003
Ort: Soest
4.012 Beiträge
 
Delphi 10.1 Berlin Enterprise
 
#7

AW: Re: Delphi don't recompile changed code

  Alt 27. Jun 2012, 13:23
BTW: CBK files are created by which program? Maybe this is problem?
BTW2: is sense to install x64 system? I have Core 2 Duo 2.13 and 3GB RAM.
Delphi, see a list of all delphi file extensions.

Imo it makes no sense to stick with an x86 OS these days - even less for a developer that sooner or later will have to face x64.
Stefan
“Simplicity, carried to the extreme, becomes elegance.” Jon Franklin

Delphi Sorcery - DSharp - Spring4D - TestInsight
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:46 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz