Ver Mensaje Individual
  #7  
Antiguo 16-05-2006
Avatar de Lepe
[Lepe] Lepe is offline
Miembro Premium
 
Registrado: may 2003
Posts: 7.424
Reputación: 29
Lepe Va por buen camino
Viendo que quizás no sirva....

Cita:
Empezado por Faq de QR
Q. My report crashes under Windows 2000 and/or Windows NT
A. In qrprntr.pas, there is a function named TempFileName and it is probably not allocating enough characters for the path to the Windows temp directory. This has been addressed for QR 3.0.5. For QR2, you can replace the function with the following code:
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;
Porque no es plan de dar 30 vueltas al cliente... habrá que buscar todas las soluciones posibles .

Cita:
Empezado por Otra cosa más
Q. My report works under 95 but not under NT
A. When the report crashes at 25 to 50 pages and the OS is NT, then the problem is usually file permissions based. QR2 renders the report to a temporary file if it can't do it in RAM. QuickReport calls the Delphi GetTempPath() and GetTempFileName() functions to build the filename. These functions check directories specified by the TMP, and TEMP variables, and they fail, the current directory. If the user does not have sufficient access to create a temporary file, then an error will occur.
Saludos y suerte.
__________________
Si usted entendió mi comentario, contácteme y gustosamente,
se lo volveré a explicar hasta que no lo entienda, Gracias.

Última edición por Lepe fecha: 16-05-2006 a las 20:57:41.
Responder Con Cita