Error com Zeos 6.6.2-BETA and Lazarus 0.9.22 beta

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
elidorio2
Expert Boarder
Expert Boarder
Posts: 159
Joined: 20.08.2006, 05:37
Location: Tapejara -Pr
Contact:

Error com Zeos 6.6.2-BETA and Lazarus 0.9.22 beta

Post 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;
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

The message you give is a hint. Can you add the blocking error compile messages ?
elidorio2
Expert Boarder
Expert Boarder
Posts: 159
Joined: 20.08.2006, 05:37
Location: Tapejara -Pr
Contact:

Post by elidorio2 »

mdaems wrote:The message you give is a hint. Can you add the blocking error compile messages ?
You do not have the required permissions to view the files attached to this post.
elidorio2
Expert Boarder
Expert Boarder
Posts: 159
Joined: 20.08.2006, 05:37
Location: Tapejara -Pr
Contact:

Post by elidorio2 »

elidorio2 wrote:
mdaems wrote:The message you give is a hint. Can you add the blocking error compile messages ?
You do not have the required permissions to view the files attached to this post.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Why does it say 'Project succesfully built? Seems OK to me???????
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post 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.
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
elidorio2
Expert Boarder
Expert Boarder
Posts: 159
Joined: 20.08.2006, 05:37
Location: Tapejara -Pr
Contact:

Post 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
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post 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
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
JCarlos
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 28.07.2007, 17:06

Post by JCarlos »

Please.
From Where I can download the version 6.6.2 of ZeosLib.
Best regard.
JCarlos
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Post Reply