T O P I C R E V I E W |
DavidMartel |
Posted - Oct 05 2012 : 02:30:05 If I open any of the DPKs under XE3 and try and then view the source code, I see the objects are listed as being under "{Program Files}\ImageEn\Source\DelphiXE3". This is of course not right, they are actually in "{Program Files}\ImageEn\Source". This means when I try and open a file it can not find it and gives me an error message.
The Package will however build fine. This is I guess because the dcus exist in "{Program Files}\ImageEn\DelphiXE3" from the installation.
I want to make some of my own changes to bring in features we added in an older version. Having edited for example ieVect.pas I can build the package, but of course it is not using my modified file, the dcu remains with the older file date.
If I change the path of the file in the package (i.e. editing the name in the package source to
ieVect in '..\ieVect.pas',
I can then see and edit the file from XE3, however compilation breaks because all the other files which are referenced to "{Program Files}\ImageEn\Source\DelpiXE3" are no longer found.
I have added "{Program Files}\ImageEn\Source\" and "{Program Files}\ImageEn\Source\Libs"
to the library path.
I also tried adding "..\" to the dpk project search path but neither of these helped.
I must be doing something simple wrong, but I just can't work it out.
Any help greatly appreciated.
|
5 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jun 18 2014 : 03:18:06 Hi
If the ImageEn source files are on your Delphi library path, then when you recompile an application that uses it all of your ImageEn files will necessarily be recompiled too.
You should link only to the ImageEn folder containing the DCU files for that Delphi version.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
Elemental |
Posted - Jun 17 2014 : 15:09:30 This is an old thread, but I'd like to add that I don't make any changes to the ImageEn product, and yet I can't recompile the package in Delphi XE5.
I have a project which uses ImageEn. In the Project Options I have the Unit Scope Names property wiped out, since I always use namespaces. When I compile, the first thing Delphi complains about is not finding Windows.dcu in iopreviews.pas. I don't want Delphi to recompile iopreviews.pas; I want it to use the .dcu that came with the product. I can't route Delphi's Library list to \ImageEn\DelphiXE5 because that only has the SOURCE to iopreviews, not the compiled unit. The \ImageEn\Source\DelphiXE5 directory doesn't have iopreviews.dcu either. Trying to recompile PKIECtrl19.dproj doesn't work either because it doesn't know where the source files are. If I add the \ImageEn\DelphiXE5 directory to the Project Search path, it complains about not finding the .dcu, which is correct, since it's not there.
Anyway, the organization of the ImageEn\ directory is kinda funky and doesn't make too much sense to me. All I want to do is have my project (which USES ImageEn), use the ImageEn .dcu's rather than have Delphi re-compile them each time I recompile or rebuild my project (in which case it puts the ImageEn .dcu's in my project's output directory, which I don't want).
What's weird is that iopreviews.dcu DOES exist in the 64-bit directory and in the Delphi XE6 directories. Did *I* mess something up?
Does my comment/request make sense?
|
xequte |
Posted - Oct 15 2012 : 22:21:43 No, it won't.
But it might help to use a different location for the DCU files for each Delphi version to avoid recompiles (The settings for this are under Delphi project options).
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
DavidMartel |
Posted - Oct 15 2012 : 06:02:56 Nigel,
Thanks for the reply. Been away for a week with little time to breathe let alone think or check for the reply.
Will this have any unexpected impact if I am running on a system with 2 versions of Delphi? (i.e. will I get some form of conflict with output files from one version then being overwritten by ones when I compile the package for another version)
|
xequte |
Posted - Oct 07 2012 : 07:49:18 Hi
You might find it easiest to move the XE3 DPK files to the source folder and then compile them from there.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|