Printing Grid exception

C++ Builder XE7

AdvGrid v7.5.1.1

I create a simple app with only a TForm and a TAdvStringGrid. No other controls except a menu. The grid size is 5x5.

I call grid->Print(), with default print settings. The grid is printed correctly, but I get a "Invalid pointer operation" exception when I close the form. If I don't print, the form closes ok.

In my more complex project, I get similar errors on closing the form if the grid size is 1x1. Simply adding a row avoids the exception.

Is there an action I need to take before closing the form to prevent this?



Thanks for reporting.
We traced & solved this issue. We can confirm the next update will address this.