Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-10

OnEvent Error, Not found any include file

18 messages · 8 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Florian Klaempfl
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Marc Weustink wrote 30 lines
At 19:41 15-10-2003, Hamacker wrote: > Hi everybody, > > I am testing lazarus for Windows, and very interesting IDE. > Bye the way, I can't create any event like a click button. > The lazarus not found any include file link classesh.inc or > sysutilsh.inc,... It's part of the FAQ. http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1#16 > I found this files on c:\pp\souce\rtl\objpas and other paths and > include this on Run|Compiler options|Include Files or Search Path but > does not resolv the problem and the same error message : > c:\pp\source\rtl\win32\sysutils.pp(27,5) Error : Include file not > found "sysutilh.inc" > > Anybody knows what I doing wrong ? Don't add fpc sources to the compile or include path (you don't want to compile FPC) The IDE only has to know the params of events. It gets them from the sources. You should set the "FPC source directory" in the Environment options.

This doesn't help, I've the same problem :) E.g. sysutils.pp is found, but sysutilsh.inc isn't.

Reply by email

Marc Weustink
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Florian Klaempfl wrote 6 lines
Marc Weustink wrote: >At 19:41 15-10-2003, Hamacker wrote: > >>Hi everybody, >> >>I am testing lazarus for Windows, and very interesting IDE.

^^^^^^^

Sorry, I missed something

Show quoted text 23 lines
>>Bye the way, I can't create any event like a click button. >>The lazarus not found any include file link classesh.inc or >>sysutilsh.inc,... > >It's part of the FAQ. >http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1#16 > > >>I found this files on c:\pp\souce\rtl\objpas and other paths and include >>this on Run|Compiler options|Include Files or Search Path but does not >>resolv the problem and the same error message : >>c:\pp\source\rtl\win32\sysutils.pp(27,5) Error : Include file not found >>"sysutilh.inc" >> >>Anybody knows what I doing wrong ? > >Don't add fpc sources to the compile or include path (you don't want to >compile FPC) >The IDE only has to know the params of events. It gets them from the >sources. You should set the "FPC source directory" in the Environment options. This doesn't help, I've the same problem :) E.g. sysutils.pp is found, but sysutilsh.inc isn't.

Mayby it is windows specific (8.3 ?). I just tried it with my Linux build form yesterday and I had no problems.

Marc

Reply by email

Hamacker

Hi everybody,

I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create any event like a click button. The lazarus not found any include file link classesh.inc or sysutilsh.inc,...

I found this files on c:\pp\souce\rtl\objpas and other paths and include this on Run|Compiler options|Include Files or Search Path but does not resolv the problem and the same error message :
c:\pp\source\rtl\win32\sysutils.pp(27,5) Error : Include file not found "sysutilh.inc"

Anybody knows what I doing wrong ?

Thx.

Reply by email

Marc Weustink
to Hamacker
Hamacker wrote 5 lines
Hi everybody, I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create any event like a click button. The lazarus not found any include file link classesh.inc or sysutilsh.inc,...

It's part of the FAQ.

http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1#16

Show quoted text 7 lines
I found this files on c:\pp\souce\rtl\objpas and other paths and include this on Run|Compiler options|Include Files or Search Path but does not resolv the problem and the same error message : c:\pp\source\rtl\win32\sysutils.pp(27,5) Error : Include file not found "sysutilh.inc" Anybody knows what I doing wrong ?

Don't add fpc sources to the compile or include path (you don't want to compile FPC)

The IDE only has to know the params of events. It gets them from the sources. You should set the "FPC source directory" in the Environment options.

Marc

Reply by email

Michael Van Canneyt
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
DMo2 wrote 11 lines
> This 'GetComboboxInfo' problem only appears on Windows NT. > On Windows XP the GetComboBoxInfo is found. > On MSDN write that GETCOMBOBOXINFO need WinNt with SP6 look : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla tform/commctls/comboboxes/comboboxreference/comboboxfunctions/getcomboboxinf o.asp

It figures. I have SP 4.

So much for windows intercompatibility :/

Michael.

Reply by email

Michael Van Canneyt
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Andrew Johnson wrote 5 lines
any label? or just dialog labels? I forgot to make sure the win32 interface auto translates COLOR_FORM into COLOR_BTNFACE, and prompt dialog I had it do Canvas.brush.color := clForm, when it should be Canvas.brush := Self.Brush; so it very well could cause black labels. I will try and set up lazarus on a win32 machine and test.

It seems that it is only in dialog labels. If I drop one on a form, it works fine. I can't test runtime, because I get an error:

The procedure entry point GetComboboxInfo could not be located in the dynamic link library user32.

Michael.

Show quoted text 37 lines
Andrew On Thu, 2003-10-16 at 11:16, Michael Van Canneyt wrote: > On Thu, 16 Oct 2003, Hamacker wrote: > > > I do that, my Enviroment I think that is OK, but the messager error > > still appear. > > I think that something is wrong, but what ? > > I compile from CVS yesterday and none error message appear. The > > compilation is OK. > > And IDE is great, in last month when I tested I saw very and very slow > > wich window, modal errors, bizarre errors (like a ctrl+v freeze window) > > and more. But today the IDE is clean, fast,... congratulations for > > Lazarus time. > > I would like to use now lazarus, but I dont understand this problem with > > include files. > > If it is any help: I get the same error; I have been able to solve it by > setting the path to the FPC sources (e:\pp\fixbranch\rtl) but then I get > a second error. And it's not possible to add 2 paths. > > (at least, I guess so, because I can't read the error message: Any label > is 100% black on my screen) > > Michael. > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Michael Van Canneyt
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Hamacker wrote 11 lines
I do that, my Enviroment I think that is OK, but the messager error still appear. I think that something is wrong, but what ? I compile from CVS yesterday and none error message appear. The compilation is OK. And IDE is great, in last month when I tested I saw very and very slow wich window, modal errors, bizarre errors (like a ctrl+v freeze window) and more. But today the IDE is clean, fast,... congratulations for Lazarus time. I would like to use now lazarus, but I dont understand this problem with include files.

If it is any help: I get the same error; I have been able to solve it by setting the path to the FPC sources (e:\pp\fixbranch\rtl) but then I get a second error. And it's not possible to add 2 paths.

(at least, I guess so, because I can't read the error message: Any label is 100% black on my screen)

Michael.

Reply by email

Michael Van Canneyt
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Andrew Johnson wrote 21 lines
yep. ok. my fault. seems to be working now. :) and not sure about the runtime error as I had no such problem myself. well.. it didn't "run" in lazarus because it tried to run the wrong path, but it compiled it, and I could run it no problem. Andrew On Thu, 2003-10-16 at 12:30, Michael Van Canneyt wrote: > On Thu, 16 Oct 2003, Andrew Johnson wrote: > > > any label? or just dialog labels? I forgot to make sure the win32 > > interface auto translates COLOR_FORM into COLOR_BTNFACE, and prompt > > dialog I had it do Canvas.brush.color := clForm, when it should be > > Canvas.brush := Self.Brush; so it very well could cause black labels. I > > will try and set up lazarus on a win32 machine and test. > > It seems that it is only in dialog labels. If I drop one on a form, it > works fine. I can't test runtime, because I get an error: > > The procedure entry point GetComboboxInfo could not be located in the dynamic link library user32.

This 'GetComboboxInfo' problem only appears on Windows NT. On Windows XP the GetComboBoxInfo is found.

This is bad news, it means lazarus programs will only run on newer windowses. The only alternative is to remove the GetComboBoxInfo call from lazarus and/or from the windows unit.

Michael.

Reply by email

Andrew Johnson
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…

any label? or just dialog labels? I forgot to make sure the win32 interface auto translates COLOR_FORM into COLOR_BTNFACE, and prompt dialog I had it do Canvas.brush.color := clForm, when it should be Canvas.brush := Self.Brush; so it very well could cause black labels. I will try and set up lazarus on a win32 machine and test.

Andrew

Michael Van Canneyt wrote 27 lines
On Thu, 16 Oct 2003, Hamacker wrote: > I do that, my Enviroment I think that is OK, but the messager error > still appear. > I think that something is wrong, but what ? > I compile from CVS yesterday and none error message appear. The > compilation is OK. > And IDE is great, in last month when I tested I saw very and very slow > wich window, modal errors, bizarre errors (like a ctrl+v freeze window) > and more. But today the IDE is clean, fast,... congratulations for > Lazarus time. > I would like to use now lazarus, but I dont understand this problem with > include files. If it is any help: I get the same error; I have been able to solve it by setting the path to the FPC sources (e:\pp\fixbranch\rtl) but then I get a second error. And it's not possible to add 2 paths. (at least, I guess so, because I can't read the error message: Any label is 100% black on my screen) Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Florian Klaempfl
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Florian Klaempfl wrote 38 lines
Marc Weustink wrote: > At 19:41 15-10-2003, Hamacker wrote: > >> Hi everybody, >> >> I am testing lazarus for Windows, and very interesting IDE. >> Bye the way, I can't create any event like a click button. >> The lazarus not found any include file link classesh.inc or >> sysutilsh.inc,... > > > > It's part of the FAQ. > > http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1#16 > > >> I found this files on c:\pp\souce\rtl\objpas and other paths and >> include this on Run|Compiler options|Include Files or Search Path but >> does not resolv the problem and the same error message : >> c:\pp\source\rtl\win32\sysutils.pp(27,5) Error : Include file not >> found "sysutilh.inc" >> >> Anybody knows what I doing wrong ? > > > > Don't add fpc sources to the compile or include path (you don't want > to compile FPC) > > The IDE only has to know the params of events. It gets them from the > sources. You should set the "FPC source directory" in the Environment > options. This doesn't help, I've the same problem :) E.g. sysutils.pp is found, but sysutilsh.inc isn't.

I tried to trace it down and inserted a writeln(filename); into fileexists with fpc source path, the following directories are searched:

C:\pp\source\rtl\win32\sysutilh.inc
C:\pp\source\rtl\win32\SYSUTILH.INC
C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\objpas\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\objpas\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\inc\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\inc\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\i386\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\i386\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\win32\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\win32\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\win32\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\win32\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\win32\i386\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\win32\i386\SYSUTILH.INC C:\pp\source\rtl\win32\wininc\sysutilh.inc
C:\pp\source\rtl\win32\wininc\SYSUTILH.INC

Reply by email

Hamacker
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…

I do that, my Enviroment I think that is OK, but the messager error still appear.
I think that something is wrong, but what ?
I compile from CVS yesterday and none error message appear. The compilation is OK.
And IDE is great, in last month when I tested I saw very and very slow wich window, modal errors, bizarre errors (like a ctrl+v freeze window) and more. But today the IDE is clean, fast,... congratulations for Lazarus time.
I would like to use now lazarus, but I dont understand this problem with include files.

Thanks for help.

Marc Weustink wrote
The IDE only has to know the params of events. It gets them from the sources. You should set the "FPC source directory" in the Environment options.

Reply by email

DMo2
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
This 'GetComboboxInfo' problem only appears on Windows NT. On Windows XP the GetComboBoxInfo is found.

On MSDN write that GETCOMBOBOXINFO need WinNt with SP6

look :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla tform/commctls/comboboxes/comboboxreference/comboboxfunctions/getcomboboxinf o.asp

Darek

Earlier message 48 lines
----- Original Message ----- From: "Michael Van Canneyt" To: Sent: Friday, October 17, 2003 9:29 AM Subject: Re: [lazarus] OnEvent Error, Not found any include file > > > On Thu, 16 Oct 2003, Andrew Johnson wrote: > > > yep. ok. my fault. seems to be working now. :) > > > > and not sure about the runtime error as I had no such problem myself. > > well.. it didn't "run" in lazarus because it tried to run the wrong > > path, but it compiled it, and I could run it no problem. > > > > Andrew > > > > On Thu, 2003-10-16 at 12:30, Michael Van Canneyt wrote: > > > On Thu, 16 Oct 2003, Andrew Johnson wrote: > > > > > > > any label? or just dialog labels? I forgot to make sure the win32 > > > > interface auto translates COLOR_FORM into COLOR_BTNFACE, and prompt > > > > dialog I had it do Canvas.brush.color := clForm, when it should be > > > > Canvas.brush := Self.Brush; so it very well could cause black labels. I > > > > will try and set up lazarus on a win32 machine and test. > > > > > > It seems that it is only in dialog labels. If I drop one on a form, it > > > works fine. I can't test runtime, because I get an error: > > > > > > The procedure entry point GetComboboxInfo could not be located in the dynamic link library user32. > > This 'GetComboboxInfo' problem only appears on Windows NT. > On Windows XP the GetComboBoxInfo is found. > > This is bad news, it means lazarus programs will only run on newer > windowses. The only alternative is to remove the GetComboBoxInfo call > from lazarus and/or from the windows unit. > > Michael. > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Andrew Johnson
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…

yep. ok. my fault. seems to be working now. :)

and not sure about the runtime error as I had no such problem myself. well.. it didn't "run" in lazarus because it tried to run the wrong path, but it compiled it, and I could run it no problem.

Andrew

Michael Van Canneyt wrote 57 lines
On Thu, 16 Oct 2003, Andrew Johnson wrote: > any label? or just dialog labels? I forgot to make sure the win32 > interface auto translates COLOR_FORM into COLOR_BTNFACE, and prompt > dialog I had it do Canvas.brush.color := clForm, when it should be > Canvas.brush := Self.Brush; so it very well could cause black labels. I > will try and set up lazarus on a win32 machine and test. It seems that it is only in dialog labels. If I drop one on a form, it works fine. I can't test runtime, because I get an error: The procedure entry point GetComboboxInfo could not be located in the dynamic link library user32. Michael. > > Andrew > > On Thu, 2003-10-16 at 11:16, Michael Van Canneyt wrote: > > On Thu, 16 Oct 2003, Hamacker wrote: > > > > > I do that, my Enviroment I think that is OK, but the messager error > > > still appear. > > > I think that something is wrong, but what ? > > > I compile from CVS yesterday and none error message appear. The > > > compilation is OK. > > > And IDE is great, in last month when I tested I saw very and very slow > > > wich window, modal errors, bizarre errors (like a ctrl+v freeze window) > > > and more. But today the IDE is clean, fast,... congratulations for > > > Lazarus time. > > > I would like to use now lazarus, but I dont understand this problem with > > > include files. > > > > If it is any help: I get the same error; I have been able to solve it by > > setting the path to the FPC sources (e:\pp\fixbranch\rtl) but then I get > > a second error. And it's not possible to add 2 paths. > > > > (at least, I guess so, because I can't read the error message: Any label > > is 100% black on my screen) > > > > Michael. > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Florian Klaempfl
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Mattias Gaertner wrote 18 lines
On Fri, 17 Oct 2003 18:13:42 +0200 Florian Klaempfl wrote: >I tried to trace it down and inserted a writeln(filename); into >fileexists with fpc source path, the following directories are searched: > >C:\pp\source\rtl\win32\sysutilh.inc >C:\pp\source\rtl\win32\SYSUTILH.INC >C:\pp\source\rtl\win32\c\sysutilh.inc >C:\pp\source\rtl\win32\c\SYSUTILH.INC >C:\pp\source\rtl\win32\pp\source\rtl\objpas\sysutilh.inc >C:\pp\source\rtl\win32\pp\source\rtl\objpas\SYSUTILH.INC The bug is that that the colon is missinterpreted as path delimiter. I hope it works now. If not, maybe a win32 user can fix it. See components/codetools/linkscanner.pas line 2387.

Now it works; nice :)

Reply by email

Micha Nelissen
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Mattias Gaertner wrote 18 lines
On Fri, 17 Oct 2003 18:13:42 +0200 Florian Klaempfl wrote: >I tried to trace it down and inserted a writeln(filename); into >fileexists with fpc source path, the following directories are searched: > >C:\pp\source\rtl\win32\sysutilh.inc >C:\pp\source\rtl\win32\SYSUTILH.INC >C:\pp\source\rtl\win32\c\sysutilh.inc >C:\pp\source\rtl\win32\c\SYSUTILH.INC >C:\pp\source\rtl\win32\pp\source\rtl\objpas\sysutilh.inc >C:\pp\source\rtl\win32\pp\source\rtl\objpas\SYSUTILH.INC The bug is that that the colon is missinterpreted as path delimiter. I hope it works now. If not, maybe a win32 user can fix it. See components/codetools/linkscanner.pas line 2387.

Weeehoo! You tha man!!! :)

An event handler is added when I double-click a button. Yipppee!!

Micha.

Reply by email

Mattias Gaertner
to Hamacker: I am testing lazarus for Windows, and very interesting IDE. Bye the way, I can't create…
Show quoted text 9 lines
I tried to trace it down and inserted a writeln(filename); into fileexists with fpc source path, the following directories are searched: C:\pp\source\rtl\win32\sysutilh.inc C:\pp\source\rtl\win32\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc C:\pp\source\rtl\win32\c\SYSUTILH.INC C:\pp\source\rtl\win32\pp\source\rtl\objpas\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\objpas\SYSUTILH.INC

The bug is that that the colon is missinterpreted as path delimiter. I hope it works now. If not, maybe a win32 user can fix it. See components/codetools/linkscanner.pas line 2387.

Mattias

Show quoted text 27 lines
C:\pp\source\rtl\win32\c\sysutilh.inc C:\pp\source\rtl\win32\c\SYSUTILH.INC C:\pp\source\rtl\win32\pp\source\rtl\inc\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\inc\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc C:\pp\source\rtl\win32\c\SYSUTILH.INC C:\pp\source\rtl\win32\pp\source\rtl\i386\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\i386\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc C:\pp\source\rtl\win32\c\SYSUTILH.INC C:\pp\source\rtl\win32\pp\source\rtl\win32\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\win32\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc C:\pp\source\rtl\win32\c\SYSUTILH.INC C:\pp\source\rtl\win32\pp\source\rtl\win32\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\win32\SYSUTILH.INC C:\pp\source\rtl\win32\c\sysutilh.inc C:\pp\source\rtl\win32\c\SYSUTILH.INC C:\pp\source\rtl\win32\pp\source\rtl\win32\i386\sysutilh.inc C:\pp\source\rtl\win32\pp\source\rtl\win32\i386\SYSUTILH.INC C:\pp\source\rtl\win32\wininc\sysutilh.inc C:\pp\source\rtl\win32\wininc\SYSUTILH.INC _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email