Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

AV on RIchtext

edited March 2005 in General
Hello all,
I installed Delphi 2005 and Report Builder9.01 and I`m gotting AV when I
am on design and on previews on my reports. When I delete the richtext,
everything goes fine. The AV is firing on this rb proc.

function TppCustomPrinter.GetPixelsPerInch: TPoint;
begin

FLock.Acquire; //It`s HERE!!!!!!

try

{call GetDC which will create a DC and determine devcaps, if needed }
GetDC;

if FDC <> 0 then
Result := FPixelsPerInch
else
Result := Point(Screen.PixelsPerInch, Screen.PixelsPerInch);
finally
FLock.Release;
end;

end; {function, GetPixelsPerInch}

Comments

  • edited March 2005
    Hi Carlson,

    There were many fixes made for RB 9.02 (recently released). Please upgrade
    to the latest version and test your app with that. If you have RB 9.01,
    this is a free upgrade. Contact info@digital-metaphors.com for upgrade
    information.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.