Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi XorDx8 Installation (https://www.delphipraxis.net/69696-xordx8-installation.html)

Neutral General 18. Mai 2006 17:52


XorDx8 Installation
 
Hi,

Also ich habe mir von folgender Seite:
http://www.abernichtdoch.de/sub/xordx8/xordx8.htm

die DirectX Unit für Delphi runtergeladen.. ich hab jetzt alle benötigten Units in Delphi\Lib kopiert.
Aber in der Unit gibt es mehrere Stellen die etwa so aussehn:

Delphi-Quellcode:
const Irgendwas = 0;

...

Irgendwas := GetTickCount;
Der linken Seite kann nichts zugewiesen werden.. ist ja auch irgendwie logisch... so das seltsame ist... wenn ich die Demos öffne kommt die Fehlermeldung nicht...

Gruß
Neutral General

mirage228 18. Mai 2006 17:58

Re: XorDx8 Installation
 
Hi,

Du musst den Compilerschalter {$J+} ([oh]$J+[/oh]) setzen, damit die Konstanten beschreibbar werden.

mfG
mirage228

Neutral General 18. Mai 2006 18:04

Re: XorDx8 Installation
 
k danke... Man variable Konstante... -.-^^
Ganz tolle Idee... naja aber das isn anderes Thema..

jim_raynor 18. Mai 2006 18:51

Re: XorDx8 Installation
 
const Variablen in Prozeduren wie static Variablen in C/C++. Damit spart man sich unter umständen globale Variblen ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:56 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