Changes in source code are ignored by the compiler

2

I have a small project in Delphi 2006, and I migrated it to Delphi XE6. However, from this migration, I realized that changes I make in source code, such as changes in form title, messages, or even in logical conditions are not included in the generated executable.

Regardless of whether I use Run Without Debugging , Run , or Build , no changes are reflected in the final executable. The interesting thing is that with each compilation the previous executable is replaced, and a new executable is generated, with updated date and time, and even if I change the Output directory , it will generate the new executable inside of the new directory, but still, without the changes I made in the code.

Example:

- Application before change (Note date and time of the executable)

- I changed the caption.

- Include a message in the create event.

- Compiled, but still unchanged (Date and time updated).

How can I solve this problem?

    
asked by anonymous 30.06.2014 / 15:18

1 answer

1

You mentioned the executable, but are the .dcu files being changed? Do you have more than one copy of the code on your pc?

It turns out that Delphi may be using bpls or old dcus files and not redoing all the work it should.

    
05.07.2014 / 16:17