Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi GDI+ und Function GdipDrawImageRectRectI (https://www.delphipraxis.net/121334-gdi-und-function-gdipdrawimagerectrecti.html)

EWeiss 25. Sep 2008 21:13


GDI+ und Function GdipDrawImageRectRectI
 
Hab ein kleines problem nur mit diese Funktion verstehe nicht das meine Anwendung hier abstürzt.

Sollte eigentlich OK sein.
Delphi-Quellcode:
GdipDrawImageRectRectI(Pointer(graphics), Pointer(Img), 0, 0, lpSize.Cx,
                       lpSize.Cy, nFrame * lpSize.Cx - lpSize.Cx, 0,
                       lpSize.Cx, lpSize.Cy, GpUnit, @ImgAttr, nil, nil);

EAccessViolation.. Img, graphics ist aber alles OK ?

EDIT:
Nur ein paar Hints von der GDIPlus.Unit
Zitat:

[Pascal Hint] GDIPAPI.pas(1843): H2365 Override method TPathData.destroy should match case of ancestor TObject.Destroy
[Pascal Hint] GDIPOBJ.pas(211): H2365 Override method TGPPrivateFontCollection.destroy should match case of ancestor TGPFontCollection.Destroy
[Pascal Hint] GDIPOBJ.pas(269): H2365 Override method TGPImage.destroy should match case of ancestor TObject.Destroy
[Pascal Hint] GDIPOBJ.pas(753): H2365 Override method TGPGraphicsPath.destroy should match case of ancestor TObject.Destroy
[Pascal Hint] GDIPOBJ.pas(968): H2365 Override method TGPGraphics.destroy should match case of ancestor TObject.Destroy
hätte das zwar gerne weg aber notfallskann ich damit leben.

EDIT:
Hat sich erledigt ..

gruss Emil


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:59 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz