[lazarus][win32]

hernan.et at pg.com hernan.et at pg.com
Wed Dec 11 17:58:54 EST 2002


Hi  all,

Why is it in win32object.inc (Line 2009)
FToolTipWindow := Window := CreateWindow(PROGRESS_CLASS, NULL, Flags, Left, Top, Width, Height, Parent, HMENU(Nil), HInstance, Nil);
second arg is defined as null, shouldn't it be nil? According to Delphi
doc Null is of type variant, the procedure needs a pointer????

Same as below, this statement won't compile.....
FToolTipWindow := CreateWindowEx(WS_EX_TOPMOST, TOOLTIPS_CLASS, NULL, WS_POPUP Or TTS_NOPREFIX Or TTS_ALWAYSTIP, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, FParentWindow, HMENU(NULL), HInstance, NULL);


Another question.....

Kindly look at file lcllinux.pp line 115
LowerCaseChars[c]:=lowercase(c)[1];


c is declared as char, is it necessary then to use index like  lowercase(c)[1]
                                                                                                                                           ^^^
By the way, here is my share with installing and compiling lazarus.

Grabbed a copy of fpc1.0.6 from the website.
Checkout a copy of lazarus from cvs.
Installed  MSys from www.mingw.org for my console, opening a console in win98 doesn't work/compile Lazarus.
Compile lazarus using msys console, everything is okay no show stopper error whatsoever.
Run lazarus, the program is not usable. only the editor is displayed with too much flicker.

Decided to install 1.0.7 as per suggestion, don't know how. Instead, I grabbed 1.1 from the cvs.
Compiled the new compiler, some error but it was able to create a 1.1 compiler.
Used the new compiler, freshen some files that I think related to Lazarus, like regexpr, synedit.... etc
Compiled lazarus, too many errors. Fixed some code and disabled others.
Compiled successfully, but the program won't as expected.

Anyways, is it okay to use 1.1 for lazarus?

Yoyong







More information about the Lazarus mailing list