A while ago I bumped into a funny problem with Delphi XE.
I moved all the code from the .dpr in a Main unit (the IDE sometimes overwrites part of the DPR).
This normally isn’t a problem, until Delphi re-generates the .RES file. The reason is that this .RES file can contain a manifest which enables Windows theming.
If there is no reference of the Application
object in the .DPR, the IDE will remove the Theming manifest from the .RES file, so your application run unthemed.
Three solutions: Read the rest of this entry »