Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
Delphi
Anonymous Methods
BASM
Code Generation/Optimization
Error Recovery
Errors - Warnings
Exceptions
Execution
Finalization
Generics
Header Generation
Interaction with UI
Interfaces
Language
Linker
Make Logic
Memory Manager
OBJ Generation
OBJ Support
Other Compiler
Packages
RTTI
String Resources
TD Debug Info
Thread Local Storage
Version resilience
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/Delphi/Other Compiler
[ Add a report in this area ]
Report #:
104886
Status:
Open
[Regression in XE2] RC files are not compiled
Project:
Delphi
Build #:
16.0.4429.46931
Version:
16.4
Submitted By:
Alan Marryat
Report Type:
Basic functionality failure
Date Reported:
4/13/2012 8:38:15 AM
Severity:
Serious / Highly visible problem
Last Updated:
5/18/2012 5:40:19 AM
Platform:
All versions
Internal Tracking #:
28311
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
5
Description
Resource files are not compiled when building a project. However the same code in XE does rebuild the RES file.
[ChangeLog.rc]
---------------
ChangeLog RCDATA "ChangeLog.txt"
---------------
[MyProgram.dpr]
---------------
program MyProgram;
{$R 'ChangeLog.res' 'ChangeLog.rc'}
......
---------------
and upon rebuild, the ChangeLog.res file remains unchanged and the timestamp is the same.
Steps to Reproduce:
To see what happens, build the project, and press the button. The text from the RES is displayed.
Edit the ChangeLog.txt file and add some more text.
Rebuild the project and press the button again. The original text still appears and the RES file has not been updated.
No error messages appear either.
It appears that once the RES file exists, Delphi XE2 will not replace it on a build.
Workarounds
None
Attachment
Project1.zip
Comments
Tomohiro Takahashi at 4/13/2012 11:32:13 AM
-
Could you please attach sample project to reproduce your issue?
Alan Marryat at 4/16/2012 1:17:52 PM
-
Sure, but I can't figure out how without creating a new bug report.
Alan Marryat at 4/16/2012 1:34:46 PM
-
OK I got the Windows client and uploaded source to reproduce.
To see what happens, build the project, and press the button. The text from the RES is displayed.
Edit the changelog.txt file and add some more text.
Rebuild the project and press the button again. The original text still appears and the RES file has not been updated.
No error messages appear either.
It appears that once the RES file exists, Delphi XE2 will not replace it on a build.
Tomohiro Takahashi at 4/17/2012 7:28:02 AM
-
> Rebuild the project and press the button again.
As a possible workaround, please try to [Clean Up] the project via [Project Manager] and then build it?
1. select project in [Project Manager]
2. show popup menu for the project
3. select [Clean Up]
4. select [Build]
Alan Marryat at 4/17/2012 1:32:30 PM
-
Thanks, your workaround does the trick.
Can we expect an update to address this?
Tomohiro Takahashi at 5/18/2012 9:33:24 PM
-
This report was opened with valid Internal Tracking Number.
Thanks.
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us