Entwickler-Ecke

Grafische Benutzeroberflächen (VCL & FireMonkey) - QuickReport 2.0 und Windows XP


matt - Mi 28.08.02 12:33
Titel: QuickReport 2.0 und Windows XP
Beim Aufruf von QuickReport.Preview bekomme ich unter XP immer eine Exception Klasse EFCreateError: 'Datei kann nicht erstellt werden'.

Ich habe gelesen, dass QuickReport eine temporäre Datei anlegen will und dazu das Temp-Verzeichnis sucht. Bei Win2000 und XP ist der Standardpfad %USERPROFILE%Lokale EinstellungenTemp wohl zu lang.

Was kann man dagegen tun?


toms - Mi 28.08.02 13:08

"Pathnames in W2000 are ludicrously long and bust nearly every commercial program on the market. QR Standard users who are suffering from this should just reset the environment variables that have long paths.
So if the temppath is 'c:\mystuff\anotherlongpathname\temp\files\', make a directory called 'c:\temp' and set the environment accordingly. "


matt - Do 29.08.02 09:01

Die Frage ist wahrscheinlich simpel, aber wie setze ich denn den TempPath auf c:\temp?

Muss ich dazu die Registry bearbeiten oder gibt es da eine Funktion mit der ich solche Einstellungen zur Laufzeit setzen kann?