Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Andorra 2D Error (https://www.delphipraxis.net/163950-andorra-2d-error.html)

Destroyer446 23. Okt 2011 12:42

Andorra 2D Error
 
Hi,
ich hab ein Andorra 2D Error, wie gesagt, und zwar kommt, sobald ich die Anwendung starte:
"The specified graphic plugin is not a valid Andorra 2D plugin!"
Was soll ich tun?
Wo krieg ich ein richtiges Plugin her?

Quell-Code:
Delphi-Quellcode:
procedure TForm1.FormCreate(Sender: TObject);
begin
 AdDraw := TAdDraw.Create(Self);
 AdDraw.DllName := 'AndorraDX93D.dll';
 If AdDraw.Initialize then
 begin
  Application.OnIdle := Idle;
 end
 else
 begin
  ShowMessage('Error while initializing Andorra 2D. Try to use another display'+
              'mode or use another video adapter.');
 end;
end;

procedure TForm1.FormDestroy(Sender: TObject);
begin
 AdDraw.Free;
end;

procedure TForm1.Idle(Sender: TObject; var Done: Boolean);
begin
 if AdDraw.CanDraw then
 begin
  AdDraw.ClearSurface(clBlack);
  AdDraw.BeginScene;
   //Your code here
  AdDraw.EndScene;
  AdDraw.Flip;
 end;
 Done := false;
end;
Danke ;)

Destroyer446 24. Okt 2011 12:28

AW: Andorra 2D Error
 
Ich arbeite jetzt sowieso mit OpenGL daher brauch ich keine Antwort mehr ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:50 Uhr.

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