Sign in Join

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

Mailing lists / lazarus / 2000-01

Lazarus runs on win32

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Michael A. Hess

From: "Vincent Snijders"

Hi,
I have been able to make a running lazarus executable for windows 98. The main obstacle to overcome was, that de gtk dlls for win32 don't export less procedure and functions than the unix libs. I temporarily commented out calls these missing functions:
gdk_pixmap_unref
gdk_draw_pixmap
gdk_bitmap_unref

Also I changed

  {$IFDEF MWE_FPC}
     {$IFDEF LINUX}
        LCLLinux,
     {$ELSE}
        Windows,
     {$ENDIF}
  {$ELSE}
     Windows,
  {$ENDIF}

to

  {$IFDEF MWE_FPC}
     LCLLinux,
  {$ELSE}
     Windows,
  {$ENDIF}

in the uses clause of mwcustomedit and made the appropiate changes in the rest of the unit.
I think this change is a good one because LCLLinux can also be used on win32 to access the winapi (and one define less).

My questions are:
Is lazarus suposed on win32 as well, and if so have are we going to solve the problems caused by missing exports?
Is LCLLinux going to be an OS-independent inteface to winapi and if so, shouldn't it get a better name?

Vincent Snijders

Reply by email