On Tue, Feb 16, 2010 at 4:34 PM, Jolyon Smith <jsm...@deltics.co.nz> wrote: > D2006, and *I* get 0, -1, -1... no error
On Tue, Feb 16, 2010 at 4:36 PM, Jolyon Smith <jsm...@deltics.co.nz> wrote: > But since we're talking about behavior in the OS not the VCL or compiler, > more pertinent perhaps is the OS: > > I'm running on a fully SP'd and updated Windows XP > > Are you running Vista/Windows 7 by any chance Nope, I'm running XP too. To be precise, "Version 5.1 (Build 2600.xpsp_sp3_gdr.091208-2036 : Service Pack 3)" When I try to access, via either method, an invalid index of the listbox, GetLastError returns 1413: RaiseLastOSError shows "System Error. Code 1413. Invalid index." Very strange. Cheers, Karl _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe