Fórum QuickReport com WindowsXp e 2000 #181512
11/09/2003
0
Amilton/pr
Curtir tópico
+ 0Posts
16/10/2004
Walbicudo
Gostei + 0
16/10/2004
Aroldo Zanela
[quote:ac138dabee=´KB da Qusoft´]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:[/quote:ac138dabee]
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;
http://delphiforum.icft.com.br/forum/viewtopic.php?t=8194
Experimentem só alterar a configuração dos diretórios temporários, conforme dica na thread acima e nos informem se funcionou.
Gostei + 0
17/10/2004
Walbicudo
Gostei + 0
18/10/2004
Aroldo Zanela
Conforme a informação acima, você deve alterar a função dentro da unit [b:dad24ec295]qrprintr.pas e recompilar o package[/b:dad24ec295]. Tente primeiro alterar as variáveis de ambiente TEMP e TMP que pode funcionar, sem a necessidade de efetuar esta alteração na unit.
Gostei + 0
19/10/2004
Walbicudo
Gostei + 0
19/10/2004
Gandalf.nho
Gostei + 0
19/10/2004
Aroldo Zanela
Colega,
Isto é um procedimento administrativo, ou seja, você deve ter privilégio de administrador no w2k para conseguir alterar o local do TEMP e TMP.
Gostei + 0
23/10/2004
Walbicudo
Gostei + 0
23/10/2004
Aroldo Zanela
Colega,
Não ocorre.
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)