Page 1 of 1

Error com Zeos 6.6.2-BETA and Lazarus 0.9.22 beta

Posted: 23.06.2007, 22:19
by elidorio2
Error com Zeos 6.6.2-BETA and Lazarus 0.9.22 beta

Unit1.pas(18,39) Hint: Parameter "DataSet" not used


Zeos unit ZSysUtils;
{$IFDEF FPC}
if OldDecimalSeparator = ',' then
try
DecimalSeparator := OldDecimalSeparator;
Result := StrToFloat(Str);
except
Result := 0;
end
else
begin
Result := StrToFloatDef(Str, Def);
DecimalSeparator := OldDecimalSeparator;
end;

Posted: 25.06.2007, 07:59
by mdaems
The message you give is a hint. Can you add the blocking error compile messages ?

Posted: 27.06.2007, 03:23
by elidorio2
mdaems wrote:The message you give is a hint. Can you add the blocking error compile messages ?

Posted: 27.06.2007, 03:26
by elidorio2
elidorio2 wrote:
mdaems wrote:The message you give is a hint. Can you add the blocking error compile messages ?

Posted: 27.06.2007, 12:10
by mdaems
Why does it say 'Project succesfully built? Seems OK to me???????

Posted: 28.06.2007, 12:11
by gto
Hello elidorio2!

The problem you're facing doesn't look from zeos. In the first screenshot, you're trying to set a string value to a float database field. Zeos is warning you that is not possible, and the code stops the execution right over the function that try to convert it (string to float), in ZSysUtils.

Since your you can build your project normally, you should review the data/datatypes of your database.

Posted: 29.06.2007, 01:03
by elidorio2
Stranger this!

I use of this same way with Dephi and I function perfectly. I do not know where this this error, use this same version of the Zeos with delphi and I do not have these problems.

-- Edson

Posted: 29.06.2007, 12:11
by gto
elidorio2 wrote:Stranger this!

I use of this same way with Dephi and I function perfectly. I do not know where this this error, use this same version of the Zeos with delphi and I do not have these problems.

-- Edson
Very strange, indeed. Try to change, in your regional settings, the decimal separator, from period "." to comma "," or vice-versa ( Iniciar -> Configurações -> Painel de Controle -> Opções Regionais e de Idioma -> Personalizar -> Símbolo Decimal, in brazilian portuguese windows xp).

Try it and post up the result :D

Posted: 28.07.2007, 17:25
by JCarlos
Please.
From Where I can download the version 6.6.2 of ZeosLib.
Best regard.
JCarlos

Posted: 29.07.2007, 21:11
by mdaems