[Lazarus] INVALID_* consts
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jun 3 19:52:23 CEST 2013
On Mon, 3 Jun 2013 19:12:44 +0200
Marco van de Voort <marcov at stack.nl> wrote:
> On Mon, Jun 03, 2013 at 05:00:46AM -0400, waldo kitty wrote:
> > why does this constant not exist in FPC or Lazarus?
>
> > have i been looking in the
> > wrong place or for the wrong thing?
>
> C:\repo\fpc\rtl\win\wininc>grep INVALID_HANDLE_VALUE *
> defines.inc: INVALID_HANDLE_VALUE = HANDLE(-1);
I changed the constant in LCLType accordingly.
http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#LCLType_INVALID_HANDLE_VALUE_now_Handle.28-1.29
Mattias
More information about the Lazarus
mailing list