AV on RIchtext
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}
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}
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com