Gridindex out of range

TwineCompile - Cut C++Builder compile times by up to 50x!
Daytona675x
Posts: 13
Joined: Tue Oct 05, 2021 4:48 am
Contact:

Gridindex out of range

Post by Daytona675x »

When I compile a unit and if there's an error, then TwineCompile 5.5.1 (current GetIt version), seems to be the reason for the following error message thrown by C++ Builder 11.3 (Patch 1):

Gitterindex außerhalb des zulässigen Bereichs.
(German, means sth. like "Grid index is outside the allowed range.")
The message details shows the following stack trace:

[5844A1ED]{vcl280.bpl } Vcl.Grids.InvalidOp (Line 928, "Vcl.Grids.pas" + 1) + $E
[5844F7A0]{vcl280.bpl } Vcl.Grids.TCustomGrid.MoveCurrent (Line 3799, "Vcl.Grids.pas" + 2) + $10
[5844ECB4]{vcl280.bpl } Vcl.Grids.TCustomGrid.FocusCell (Line 3424, "Vcl.Grids.pas" + 1) + $9
[58452246]{vcl280.bpl } Vcl.Grids.TCustomGrid.SetRow (Line 5062, "Vcl.Grids.pas" + 0) + $12
[772E1848]{TwineCompilePluginCore110.dll} Unbekannte Funktion bei __dbk_fcall_wrapper + $FF78
[772F349A]{TwineCompilePluginCore110.dll} Unbekannte Funktion bei __dbk_fcall_wrapper + $21BCA
[583B6E7B]{vcl280.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3244, "Vcl.ExtCtrls.pas" + 1) + $E
[583B6D5B]{vcl280.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3202, "Vcl.ExtCtrls.pas" + 4) + $7
[55B45C1C]{rtl280.bpl } System.Classes.StdWndProc (Line 18517, "System.Classes.pas" + 8) + $0
[58435263]{vcl280.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11488, "Vcl.Forms.pas" + 23) + $1
[584352A6]{vcl280.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11518, "Vcl.Forms.pas" + 1) + $4
[584355E5]{vcl280.bpl } Vcl.Forms.TApplication.Run (Line 11657, "Vcl.Forms.pas" + 27) + $3
[005080A2]{bds.exe } bds.bds (Line 227, "" + 16) + $2

The TwineCompile-related lines translate to "unknown function at __dbk_fcall_wrapper ".

If I disable "Errors" in TwineCompile's "Compile Messages" panel, then the problem doesn't happen.
rgomez
Posts: 6
Joined: Mon Mar 13, 2023 6:25 pm

Re: Gridindex out of range

Post by rgomez »

I've got this error too, but can't really why it happens. I think it has to do with some of the messages produced by the compiling, but haven't really tried to pinpoint this.
omtom
Posts: 5
Joined: Tue Mar 02, 2021 10:12 am

Re: Gridindex out of range

Post by omtom »

Same here.

If an error occurs during compilation, the "Grid index error" is displayed 90% of the time.

It would be nice if this could be corrected, as it is a bit tedious.
jomitech
Site Admin
Posts: 2159
Joined: Wed Oct 08, 2008 12:23 am

Re: Gridindex out of range

Post by jomitech »

Apologies for the lack of response. Looking into this issue.
Jon
jomitech
Site Admin
Posts: 2159
Joined: Wed Oct 08, 2008 12:23 am

Re: Gridindex out of range

Post by jomitech »

Can you download this file, extract into the TwineCompile Program Files directory and see if it resolves this issue:

https://jomitech.com/downloads/TwineCom ... ore110.zip
Jon
omtom
Posts: 5
Joined: Tue Mar 02, 2021 10:12 am

Re: Gridindex out of range

Post by omtom »

No, it doesn't help.
Maybe it depends on how the tools windows are docked.
Attached is a screenshot of my IDE.
Attachments
Bild1.jpg
(182.29 KiB) Not downloaded yet
jomitech
Site Admin
Posts: 2159
Joined: Wed Oct 08, 2008 12:23 am

Re: Gridindex out of range

Post by jomitech »

Can you provide the exception trace for the error you're getting?
Jon
Daytona675x
Posts: 13
Joined: Tue Oct 05, 2021 4:48 am
Contact:

Re: Gridindex out of range

Post by Daytona675x »

Unfortunately it doesn't fix things here neither.
Here's my stacktrace:

[5896A1ED]{vcl280.bpl } Vcl.Grids.InvalidOp (Line 928, "Vcl.Grids.pas" + 1) + $E
[5896F7A0]{vcl280.bpl } Vcl.Grids.TCustomGrid.MoveCurrent (Line 3799, "Vcl.Grids.pas" + 2) + $10
[5896ECB4]{vcl280.bpl } Vcl.Grids.TCustomGrid.FocusCell (Line 3424, "Vcl.Grids.pas" + 1) + $9
[58972246]{vcl280.bpl } Vcl.Grids.TCustomGrid.SetRow (Line 5062, "Vcl.Grids.pas" + 0) + $12
[50391848]{TwineCompilePluginCore110.dll} Unbekannte Funktion bei __dbk_fcall_wrapper + $FF78
[503A349A]{TwineCompilePluginCore110.dll} Unbekannte Funktion bei __dbk_fcall_wrapper + $21BCA
[588D6E7B]{vcl280.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3244, "Vcl.ExtCtrls.pas" + 1) + $E
[588D6D5B]{vcl280.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3202, "Vcl.ExtCtrls.pas" + 4) + $7
[58D25C1C]{rtl280.bpl } System.Classes.StdWndProc (Line 18517, "System.Classes.pas" + 8) + $0
[58955263]{vcl280.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11488, "Vcl.Forms.pas" + 23) + $1
[589552A6]{vcl280.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11518, "Vcl.Forms.pas" + 1) + $4
[589555E5]{vcl280.bpl } Vcl.Forms.TApplication.Run (Line 11657, "Vcl.Forms.pas" + 27) + $3
[00AA80A2]{bds.exe } bds.bds (Line 227, "" + 16) + $2
jomitech
Site Admin
Posts: 2159
Joined: Wed Oct 08, 2008 12:23 am

Re: Gridindex out of range

Post by jomitech »

I think I figured the issue out. Was very hard to reproduce as it was a timing issue with the message synchronization. Please download that file again, extract into the TwineCompile Program Files directory and see if it resolves the issue:

https://jomitech.com/downloads/TwineCom ... ore110.zip
Jon
omtom
Posts: 5
Joined: Tue Mar 02, 2021 10:12 am

Re: Gridindex out of range

Post by omtom »

After a first quick test it seems to work correctly now.
Thanks.
Post Reply