Page 1 of 1

Unnecessary compiling of TRichView modules.

Posted: Mon Nov 07, 2011 10:19 pm
by jfleming
When I compile my program using DelphiXE2, it also compiles a long list of RichView modules (BackRVFrm.dcu, BaseRVFrm.dcu, RVColorCombo.dcu, etc) and places the dcu files in the folder where my programs' object files are deposited.

Why is this ???

Surely the TRichView modules should not be compiled each time, but linked in from a common folder created when the packages were installed ??

What am I doing wrong ?? What should I configure in Delphi/Tools/Options to avoid this happening ???

Jim Fleming

Posted: Tue Nov 08, 2011 6:51 pm
by Sergey Tkachenko
Please send me a sample project reproducing this problem (richviewgmailcom)

Posted: Wed Nov 09, 2011 3:06 pm
by jfleming
Sergey Tkachenko wrote:Please send me a sample project reproducing this problem (richviewgmailcom)
Will do, Sergey, but the other, RTF, problem is more urgent so will do this in the next few days.

Jim

Posted: Thu Nov 10, 2011 1:03 am
by jfleming
Have just sent an email with accompanying zip file. If you need any further data about my configuration, options or what have you, you need only ask.

Jim Fleming

Posted: Sun Nov 27, 2011 1:08 pm
by Sergey Tkachenko
Your zip does not include dproj file containing the project configuration.
With autocreated dproj file, Delphi XE2 (update 2) places exe and dcu files in the same directory as the source file, and only Unit1.dcu is created here.

Posted: Sun Nov 27, 2011 5:41 pm
by jfleming
Sergey,

Have just sent the missing dproj file.

The described behaviour (unnecessary recompiles) is also seen by another, bigger, program of mine, but it does not create a sub-tree of folders with all dcus and the exe down in the tree -- it generates all dcus of my program in the project source folder.

However, it does recompile all RichView modules, as does the first program, but places them in the TRichView install folder (C:/Archivos de programa/TRichView).

Both programs are compiled with the Debug build configuration.

Jim Fleming