Einzelnen Beitrag anzeigen

EWeiss
(Gast)

n/a Beiträge
 
#1

GDI+ und Function GdipDrawImageRectRectI

  Alt 25. Sep 2008, 21:13
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
  Mit Zitat antworten Zitat