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);