Windows 2000 e Delphi3 - Urgente

13/05/2003

1

Como Fazer Funcionar o Qrp do Delphi 3 no Windows 2000
é urgente por favor.


Responder

Posts

13/05/2003

M@rcelo

Tb tive esste problema
e a solucao foi passar pro delphi 5

OK


Responder

13/05/2003

Aroldo Zanela

Colega,

Segundo a base de conhecimento do fornecedor do QR (www.qusoft.com) você deve alterar a unit qrprintr.pas e recompilar o Package.
Você deve substituir a função existente pelo seguinte:

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;


Original:
[list:05ed135267]
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:
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;
This is not supported but should take care of the problem.
[/list:u:05ed135267]


Responder