Página 1 de 1

To Ignacio. About HB_IT_DATETIME in hbapi.

Publicado: Mar Oct 27, 2009 2:23 pm
por Spirin Sergey
Hello, Ignacio,
I recived message from Juan Jose about of some incompatibility Xailer2 and
FRH (FastReport). There is a problem with DateTime datatype.
Now I look hbapi.h from Xailer2-pack and I see new lines:
#define HB_IT_TIMEFLAG ( ( HB_TYPE ) 0x00040 )
#define HB_IT_DATETIME ( HB_IT_TIMEFLAG | HB_IT_DATE )
But I do not see these lines in the xHarbour 1.2.1 from xharbour.org.
Unfortunately, I do not understand "the scheme of the emergence" of the
different xharbour-versions. So I would like to ask. Does this means that
these constants will be in all versions of xharbour have the same values and
I can use them to determine DateTime-type of Item?
Now, the FRH-code handle only HB_IT_DATE and simply ignores the
possibility of:
hb_itemType(SomeItem) = HB_IT_DATETIME
But if this is common xharbour-innovation I will add support of this type.
Thanks for any advice.
---
Spirin Sergey.
"Paritet Soft" Company.
FRH sales: http://www.paritetsoft.ru/frh.htm
FRAX sales: http://www.paritetsoft.ru/frax.htm

To Ignacio. About HB_IT_DATETIME in hbapi.

Publicado: Mar Oct 27, 2009 2:44 pm
por ignacio
Sergey,
Is indeed a xHarbour feature. The hbapi.h file is a xHarbour file with
absolutely no modification from us.
> But I do not see these lines in the xHarbour 1.2.1 from xharbour.org.
Please, check again. We are using xHarbour 1.2.1 updated up to this CVS
entry:
2009-07-21 16:55 UTC-0430 Ron Pinkas <ron.pinkas/at/xharbour.com>
* sourcevmhvm.c
* Minor but important correction to void hb_vmFreeSymbols()
BTW, on the xHarbour from this CVS entry:
2009-10-17 23:39 UTC-0500 Vicente Guerra <vicente@guerra.com.mx>
* source/debug/tbrwtext.prg
* Changed Text2Array() to fix line changes when EOL is CR+LF
(hb_atokens() doesn't support delimiters with more than
one character long).
Is also included on hbapi.h line 78
> Unfortunately, I do not understand "the scheme of the emergence" of the
> different xharbour-versions. So I would like to ask. Does this means that
> these constants will be in all versions of xharbour have the same values
> and I can use them to determine DateTime-type of Item?
I believe YES.
Best regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Spirin Sergey" <spirin@paritetsoft.ru> escribió en el mensaje
news:4ae6f45e$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hello, Ignacio,
>
> I recived message from Juan Jose about of some incompatibility Xailer2
> and FRH (FastReport). There is a problem with DateTime datatype.
>
> Now I look hbapi.h from Xailer2-pack and I see new lines:
>
> #define HB_IT_TIMEFLAG ( ( HB_TYPE ) 0x00040 )
> #define HB_IT_DATETIME ( HB_IT_TIMEFLAG | HB_IT_DATE )
>
> But I do not see these lines in the xHarbour 1.2.1 from xharbour.org.
>
> Unfortunately, I do not understand "the scheme of the emergence" of the
> different xharbour-versions. So I would like to ask. Does this means that
> these constants will be in all versions of xharbour have the same values
> and I can use them to determine DateTime-type of Item?
>
> Now, the FRH-code handle only HB_IT_DATE and simply ignores the
> possibility of:
>
> hb_itemType(SomeItem) = HB_IT_DATETIME
>
> But if this is common xharbour-innovation I will add support of this
> type.
>
> Thanks for any advice.
>
> ---
> Spirin Sergey.
> "Paritet Soft" Company.
> FRH sales: http://www.paritetsoft.ru/frh.htm
> FRAX sales: http://www.paritetsoft.ru/frax.htm
>
>

To Ignacio. About HB_IT_DATETIME in hbapi.

Publicado: Mar Oct 27, 2009 3:06 pm
por Spirin Sergey
Hello, Ignacio,
> Is indeed a xHarbour feature. The hbapi.h file is a xHarbour file with
> absolutely no modification from us.
>
>> But I do not see these lines in the xHarbour 1.2.1 from xharbour.org.
>
> Please, check again. We are using xHarbour 1.2.1 updated up to this CVS
> entry:
>
Oh, sorry, I really checked more old version (it was binary pack).
>>Does this means that these constants will be in all versions of xharbour
>>have the same values and I can use them to determine DateTime-type of
>>Item?
>
> I believe YES.
:) Ok. Thank you very much. I will add DateTime-type support to FRH at
nearest days.
---
Spirin Sergey.
"Paritet Soft" Company.
FRH sales: http://www.paritetsoft.ru/frh.htm
FRAX sales: http://www.paritetsoft.ru/frax.htm