[lazarus] can't make mwedit on win32

Marc Weustink Marc.Weustink at cuperus.nl
Tue Apr 18 04:25:51 EDT 2000

+ From: Vincent Snijders [mailto:vrs at dds.nl]


+ This is due to some type incompatiblities between LCLLinux
+ and windows. I propose (and have proposed) to use LCLLinux
+ also under windows, as it is an interface to the underlying
+ OS/Winapi. In that case you can leave out a few IFDEFs in
+ the mwcustomedit file, so it also results in cleaner code,
+ although a bit slower due to the extra indirection, which we
+ are accepting in the LCL for winapi calls anyway.

Originally it was the intention (at least mine) to have one interface to the
indelying widgetset.

+ I 'll attach the diff file for these changes in mwcustomedit.pas as
+ mwcustomedit.dif
+ These changes introduce a new problem with the clipboard
+ unit. The current clipboard unit includes the clipboard
+ constants for linux, but not for windows (you are supposed
+ to use the windows unit). A solution for this would be to
+ move the CF_xxxx constants to LCLLinux and to use this unit in
+ the clipboard unit.
+ I could suply you with diff files for patching
+ mwcustomedit.pas clipboard.pp
+ and lcllinux.pp, if you want.

If nobody is against it you can send the difs to my private account
(weus at quicknet.nl) and I can apply them. It's a nice point to see if
everything builds with NT (it didn't in the past)


More information about the Lazarus mailing list