Subject | RE: [IBO] OT - Unusable Alpha Version for Delphi 2009 - Marcin |
---|---|
Author | Paul |
Post date | 2009-05-01T14:04:19Z |
Marcin and Dimitry
I am fully aware of the need to separate all the code etc which I had done.
The problem seemed to be that vcl60.bpl and vcl100.bpl are in the system32
directory. D2007 was fine but D6 tried to build vcl100 into its packages
and fell over. I tried explicitly using the $LIBSUFFIX directive but it
didn't help. Uses clauses only have 'vcl', D2007 uses LIBSUFFIX 100 (I
think) to find the right file but D6 just uses the first one it finds. If I
renamed vcl100.bpl to something silly then D6 stuff would compile OK. I
also tried moving these files to version specific directories and this sort
of worked but I cant remember now what the remaining problem was.
Dimitry - By 'Different "Library" environment settings for D6,D7 etc..' I
assume you just mean the directory paths - If you mean something else I
would like to know.
Sorry again for the OT - perhaps Helen could bear with us for a very little
bit longer ;-)
Regards
Paul
I am fully aware of the need to separate all the code etc which I had done.
The problem seemed to be that vcl60.bpl and vcl100.bpl are in the system32
directory. D2007 was fine but D6 tried to build vcl100 into its packages
and fell over. I tried explicitly using the $LIBSUFFIX directive but it
didn't help. Uses clauses only have 'vcl', D2007 uses LIBSUFFIX 100 (I
think) to find the right file but D6 just uses the first one it finds. If I
renamed vcl100.bpl to something silly then D6 stuff would compile OK. I
also tried moving these files to version specific directories and this sort
of worked but I cant remember now what the remaining problem was.
Dimitry - By 'Different "Library" environment settings for D6,D7 etc..' I
assume you just mean the directory paths - If you mean something else I
would like to know.
Sorry again for the OT - perhaps Helen could bear with us for a very little
bit longer ;-)
Regards
Paul
> As Dimitry said...
> I have separate 'MyLib' directory for each version of Delphi (located
> under Delphi 'root' directory)
> Then in this directory I have subdirectories for 3rd party (or mine)
> libraries. So bpl, dcp and dcu files are created separately for each
> version of Delphi.
>
> That's whole trick
>
> Sorry for being a little bit off topic (regarding the list)...
>
> Marcin
>
>
> Dmitriy A. Beloshistov pisze:
> >> Can I email you directly to ask a few questions about your setup - I
> > spent a
> >> long time trying to get the 2 versions together and didn't succeed?
> >
> > It`s simple:
> >
> > 1) Different source for different Delphi versions (i.e.
> > Components\IBO4_D6 ... Components\IBO4_D7 etc...)
> >
> > 2) Different "Library" environment settings for D6,D7 etc...
> >
> > WBR, Dmitry Beloshistov AKA [-=BDS=-]
> >