Ver Mensaje Individual
  #2  
Antiguo 21-03-2005
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Reputación: 10
marcoszorrilla Va por buen camino
Cita:
Q. I am getting errors trying to preview reports with QuickReport 2 under Windows 2000
A. We do not support QuickReport 2 under Windows 2000, we only support QuickReport 3 under Windows 2000. You can get it to work, but you will need to change the TempFileName function in qrprintr.pas and recompile the package.
Replace the existing function with the following:
code:


Código Delphi [-]
function TempFilename : string;
 var
 AName,
 ADir : array[0..255] of char;
 begin
 GetTempPath(255, adir);
 GetTempFilename(aDir, PChar('QRP'), 0, aName);
 result := StrPas(aName);
 end;
Un Saludo.
__________________
Guía de Estilo de los Foros
Cita:
- Ça c'est la caisse. Le mouton que tu veux est dedans.
Responder Con Cita