Hello
I am upgrading from Delphi 2009 to XE7. I am getting this compiler message:
[dcc32 Fatal Error] Winapi.ActiveX.pas(7803): F1026 File not found: 'System.Variants'
My search path is:
$(BDS)\lib\win32\debug;
$(Delphi)\lib\win32\debug;
\4WinNu;
\Prog2\Filer51_XE7;
\Prog2\Filer51_XE7/Units;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\vcl;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\data;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\common;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\sys;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\win;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Core;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Protocols;
C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\System;
c:\prog2\scalabium_xe7\export\sources;
c:\prog2\scalabium_xe7\import\sources
System.Variants.pas (Nov 6) is in rtl\sys. What am I doing wrong?
Thanks
Tom Obenschain
> {quote:title=Jeff Overcash (TeamB) wrote:}{quote}
> Tom Obenschain wrote:
> >
> > I have reverted to original VCL's with the exception of DBCtrls which has two minor changes for use with BTree Filer 3GL ISAM routines. I thought if I left the interface unchanged then it would compile. But I am getting "Unit Vcl.DBGrids was compiled with a different version of Vcl.DBCtrls.TDBLookUpListBox". So I have to include the Source\Data directories in my search path.
>
> You have a dcu in your path somewhere that is still interface breaking. It is
> either that file's or a unit that one uses. You have to find it (them) and
> remove them.
>
> --
> Jeff Overcash (TeamB)
> (Please do not email me directly unless asked. Thank You)
> And so I patrol in the valley of the shadow of the tricolor
> I must fear evil. For I am but mortal and mortals can only die.
> Asking questions, pleading answers from the nameless
> faceless watchers that stalk the carpeted corridors of Whitehall.
> (Fish)
Thanks for your help.
> {quote:title=Jeff Overcash (TeamB) wrote:}{quote}
> Tom Obenschain wrote:
> >
> > I have reverted to original VCL's with the exception of DBCtrls which has two minor changes for use with BTree Filer 3GL ISAM routines. I thought if I left the interface unchanged then it would compile. But I am getting "Unit Vcl.DBGrids was compiled with a different version of Vcl.DBCtrls.TDBLookUpListBox". So I have to include the Source\Data directories in my search path.
>
> You have a dcu in your path somewhere that is still interface breaking. It is
> either that file's or a unit that one uses. You have to find it (them) and
> remove them.
>
> --
> Jeff Overcash (TeamB)
> (Please do not email me directly unless asked. Thank You)
> And so I patrol in the valley of the shadow of the tricolor
> I must fear evil. For I am but mortal and mortals can only die.
> Asking questions, pleading answers from the nameless
> faceless watchers that stalk the carpeted corridors of Whitehall.
> (Fish)
<>
Yet it compiles ok if the modified unit is removed from the search path.
Tom Obenschain wrote:
>
> I have reverted to original VCL's with the exception of DBCtrls which has two minor changes for use with BTree Filer 3GL ISAM routines. I thought if I left the interface unchanged then it would compile. But I am getting "Unit Vcl.DBGrids was compiled with a different version of Vcl.DBCtrls.TDBLookUpListBox". So I have to include the Source\Data directories in my search path.
You have a dcu in your path somewhere that is still interface breaking. It is
either that file's or a unit that one uses. You have to find it (them) and
remove them.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
> {quote:title=Jeff Overcash (TeamB) wrote:}{quote}
> Tom Obenschain wrote:
> > Hello
> >
> > I am upgrading from Delphi 2009 to XE7. I am getting this compiler message:
> >
> > [dcc32 Fatal Error] Winapi.ActiveX.pas(7803): F1026 File not found: 'System.Variants'
> >
> > My search path is:
> >
> > $(BDS)\lib\win32\debug;
> > $(Delphi)\lib\win32\debug;
> > \4WinNu;
> > \Prog2\Filer51_XE7;
> > \Prog2\Filer51_XE7/Units;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\vcl;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\data;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\common;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\sys;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\win;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Core;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Protocols;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\System;
> > c:\prog2\scalabium_xe7\export\sources;
> > c:\prog2\scalabium_xe7\import\sources
> >
> > System.Variants.pas (Nov 6) is in rtl\sys. What am I doing wrong?
> >
> > Thanks
> > Tom Obenschain
>
> Do not add source directories to your search path or library path. All the
> DCU's are there in your lib directories. If you are modifying VCL source, copy
> the source to its own directory and add that source file directly to the project.
>
> --
> Jeff Overcash (TeamB)
> (Please do not email me directly unless asked. Thank You)
> And so I patrol in the valley of the shadow of the tricolor
> I must fear evil. For I am but mortal and mortals can only die.
> Asking questions, pleading answers from the nameless
> faceless watchers that stalk the carpeted corridors of Whitehall.
> (Fish)
I have reverted to original VCL's with the exception of DBCtrls which has two minor changes for use with BTree Filer 3GL ISAM routines. I thought if I left the interface unchanged then it would compile. But I am getting "Unit Vcl.DBGrids was compiled with a different version of Vcl.DBCtrls.TDBLookUpListBox". So I have to include the Source\Data directories in my search path.
Tom,
| I modified Classes.pas
That seems like it should be a a no-no!
It may have fixed the issue instance but it's probably NOT the correct
solution.
--
Q
1.19.1.372 (Q's Broken Toolbar.)
> {quote:title=Tom Obenschain wrote:}{quote}
>
> I modified Classes.pas which requires a recompile of many units.
>
> I tried moving them to my own directory but got another "file not found".
Real problem is why you needed to modify Classes.pas .... there are normally better ways
--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
> {quote:title=Jeff Overcash (TeamB) wrote:}{quote}
> Tom Obenschain wrote:
> > Hello
> >
> > I am upgrading from Delphi 2009 to XE7. I am getting this compiler message:
> >
> > [dcc32 Fatal Error] Winapi.ActiveX.pas(7803): F1026 File not found: 'System.Variants'
> >
> > My search path is:
> >
> > $(BDS)\lib\win32\debug;
> > $(Delphi)\lib\win32\debug;
> > \4WinNu;
> > \Prog2\Filer51_XE7;
> > \Prog2\Filer51_XE7/Units;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\vcl;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\data;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\common;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\sys;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\win;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Core;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Protocols;
> > C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\System;
> > c:\prog2\scalabium_xe7\export\sources;
> > c:\prog2\scalabium_xe7\import\sources
> >
> > System.Variants.pas (Nov 6) is in rtl\sys. What am I doing wrong?
> >
> > Thanks
> > Tom Obenschain
>
> Do not add source directories to your search path or library path. All the
> DCU's are there in your lib directories. If you are modifying VCL source, copy
> the source to its own directory and add that source file directly to the project.
>
> --
> Jeff Overcash (TeamB)
> (Please do not email me directly unless asked. Thank You)
> And so I patrol in the valley of the shadow of the tricolor
> I must fear evil. For I am but mortal and mortals can only die.
> Asking questions, pleading answers from the nameless
> faceless watchers that stalk the carpeted corridors of Whitehall.
> (Fish)
<>
I modified Classes.pas which requires a recompile of many units.
I tried moving them to my own directory but got another "file not found".
Tom Obenschain wrote:
> Hello
>
> I am upgrading from Delphi 2009 to XE7. I am getting this compiler message:
>
> [dcc32 Fatal Error] Winapi.ActiveX.pas(7803): F1026 File not found: 'System.Variants'
>
> My search path is:
>
> $(BDS)\lib\win32\debug;
> $(Delphi)\lib\win32\debug;
> \4WinNu;
> \Prog2\Filer51_XE7;
> \Prog2\Filer51_XE7/Units;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\vcl;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\data;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\common;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\sys;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\win;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Core;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\Protocols;
> C:\Program Files (x86)\Embarcadero\Studio\15.0\source\Indy10\System;
> c:\prog2\scalabium_xe7\export\sources;
> c:\prog2\scalabium_xe7\import\sources
>
> System.Variants.pas (Nov 6) is in rtl\sys. What am I doing wrong?
>
> Thanks
> Tom Obenschain
Do not add source directories to your search path or library path. All the
DCU's are there in your lib directories. If you are modifying VCL source, copy
the source to its own directory and add that source file directly to the project.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)