[DUG] Is it a bug in latest version of Delphi?

Karl Reynolds kreynolds at chocfishsoft.co.nz
Tue Feb 16 16:47:49 NZDT 2010


On Tue, Feb 16, 2010 at 4:34 PM, Jolyon Smith <jsmith at deltics.co.nz> wrote:
> D2006, and *I* get 0, -1, -1... no error

On Tue, Feb 16, 2010 at 4:36 PM, Jolyon Smith <jsmith at 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


More information about the Delphi mailing list