On 5/28/06, roozbeh gholizadeh <[EMAIL PROTECTED]> wrote:
is there any special things to note in conversions?

One basic thing is to do this on every unit:

unit myunit;

{$ifdef fpc}
 {$mode delphi}{$H+}
{$endif}

As they are visual and do respond mostly to lots of windows messages?
and if i just wanted it to be working on win32 also should i change things?

Lazarus emulates windows messages on other platforms, and also many
windows api functions.

If you have this:

TMyControl = class
  procedure WMSize; message WM_Size;
end;

I think you can change that into this:

TMyControl = class
  procedure LMSize; message LM_Size;
end;

But the best way it to probably look for other ways to do what you
want instead of windows messages.

and if i just wanted it to be working on win32 also should i change things?

If you are only working with win32 then you can probably just leave
things the way they are, mostly.

--
Felipe Monteiro de Carvalho

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to