[Lazarus] TStringGrid: ColCount vs Columns.Count
Alexander Klenin
klenin at gmail.com
Tue Dec 9 01:49:24 CET 2008
On Mon, 8 Dec 2008 15:24:39 +0100
Raymond van Venetiƫ <rayvanve at hotmail.com> wrote:
>
> >
> > Can you try to add a line
> >
> > CodeToolBoss.SimpleInit(ConfigFilename);
> > writeln('IncPath=',CodeToolBoss.GetIncludePathForDirectory('C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32'));
> >
> > What is IncPath for you?
>
> With last rev, I get the following output (including that writeln):
>
> C:\lazarus\components\codetools\examples>getcontext
> TCodeToolManager.SimpleInit Config=codetools.config
> TCodeToolManager.SimpleInit PP=C:\FPC\2.2.2\bin\i386-win32\fpc.exe
> FPCDIR=C:\FPC\fpcbuild-2.2.2\fpcsrc LAZARUSDIR=C:\lazarus
> FPCTARGET=win32
> IncPath=;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\objpas\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\objpas\sysutils;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\objpas\classes;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\inc\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\inc\graph\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32\i386;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\i386\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32\i386\;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32\wininc;C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32\i386\;C:\FPC\fpcbuild-2.2.2\fpcsrcrtl\win\wininc;C:\FPC\fpcbuild-2.2.2\fpcsrcrtl\win;C:\FPC\fpcbuild-2.2.2\fpcsrcrtl\freebsd
Ah. Missing PathDelim at end.
Fixed in svn 17729.
Please test.
> ### TCodeToolManager.HandleException: "include file not found
> "base.inc"" at Lin e=33 Col=5 in
> "C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win32\windows.pp" Contexts not
> found: include file not found "base.inc"
>
> When I Find the base.inc in the IDE, it turns out to be this path:
> C:\FPC\fpcbuild-2.2.2\fpcsrc\rtl\win\wininc\base.inc
>
> But as you can see, that path isn't in the IncPath..
Mattias
More information about the Lazarus
mailing list