Thomas Stutz
Global Moderator
Hero Member
    
Offline
Beiträge: 1784

|
 |
« Antworten #1 am: 05.03.2002, 00:52:29 » |
|
Hi,
Hab mal ein wenig nachgeforscht und anscheinend hat der QR lange temp-Verzeichnisnamen nicht gerne.
"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:mystuffanotherlongpathnametempfiles', make a directory called 'c:temp' and set the environment accordingly. "
Wenn du den Quelltext von QR besitzt, versuch mal die Funktion TempFilename durch diese zu ersetzen:
[font size=2 face="Courier New"][font color="#000000"]Source: QRprntr.pas
function TempFilename: string; var AName, ADir: array[0..255] of char; [font color="#000080"]{$ifndef win32} [/font]ADrive: char; [font color="#000080"]{$endif} [/font]begin [font color="#000080"]{$ifdef win32} [/font]GetTempPath(255, adir); GetTempFilename(aDir, PChar('QRP'), 0, aName); [font color="#000080"]{$else} [/font]ADrive := GetTempDrive(ADrive); GetTempFilename(ADrive, PChar('QRP'), 0, aName); [font color="#000080"]{$endif} [/font]Result := StrPas(aName); end; [/font][/font]
|