[lazarus] Unit MESSAGES
Marc Weustink
marc at dommelstein.net
Mon Nov 24 17:38:53 EST 2003
At 21:23 24-11-2003, Darek Mazur wrote:
>Hi
> I have problems with unit MESSAGES
>are two unit with the same name
>pp\units\rtl\win32
>and
>lazarus\lcl\nonwin32
>
>WHY they have the same name
>in compilation is very hard to discover which one is need
>and compilations LMESSAGES under WIN32 and FPC1.9 cause curcular error
>
>they are two solutions:
>1. rename NONWIN32\MESSAGES to NONWIN32\NMESSAGE
>
>or
>
>2. move all stuff to LMESSAGES with conditional compilation:
>
>{$IFDEF WIN32}
> uses messages;
>
>
> LM_DROPFILES = WM_DROPFILES;
>
>{$ELSE}
> LM_DROPFILES = $0233;
> WM_DROPFILES = LM_DROPFILES;
>
>{$ENDIF}
In the future (if I recall it correcty) the LCL only uses LMessages and no
target shall use Messages (only the win32 interface shall)
Marc
More information about the Lazarus
mailing list