Page 1 of 1
TDatePick failed
Posted: Mon Oct 20, 2008 10:27 am
by StefanHaupt
Hi all,
if I compile the sample datetime.prg with the latest xHarbour and fwh709, it does not work. The sample ends without showing the dialog. There is no error.log created and no gpf, it just ends.
If the date is empty, the sample ends at once, if the date is filled with data, it ends clicking on the checkbox.
Can anyone confirm this ?
Is the latest xHarbour incompatible with older fwh ?
Posted: Mon Oct 20, 2008 6:59 pm
by James Bott
>Is the latest xHarbour incompatible with older fwh ?
Probably.
James
Posted: Tue Oct 21, 2008 7:35 am
by StefanHaupt
I found, it´s working till the februar release of xHarbour. In later releases somthing must have changed.
At the moment everything seems to work fine, execept tDatePick.
Maybe Antonio can shed some light on this
Posted: Tue Oct 21, 2008 8:43 am
by Antonio Linares
Stefan,
samples\DateTime.prg is working fine with Harbour and FWH 8.10, but fails when xharbour is used.
We are working to see where the problem comes from, thanks
Posted: Tue Oct 21, 2008 8:47 am
by Antonio Linares
Setfan,
This is the line that fails with xHarbour:
If you change ctod() call to Date(), then it works fine here.
We need to find what is wrong with xHarbour ctod('')
Posted: Wed Oct 22, 2008 8:29 am
by StefanHaupt
Antonio,
If you change ctod() call to Date(), then it works fine here.
We need to find what is wrong with xHarbour ctod('')
yes, but then it will fail if you click the checkbox to deselect and empty the value returned by the control. I´m not sure, if it is really caused by ctod().
I found, that the DTM_SETSYSTEMTIME message sets the state of the checkbox. maybe this message is not correctly evaluated and causes the crash.
Posted: Fri Oct 24, 2008 10:25 am
by StefanHaupt
Antonio,
I just downloaded the latest cvs of xHarbour, it seems to work again. At least the sample is working fine now, though a bigger application gpf´s
Maybe I have to rebuild all libs....
Posted: Fri Oct 24, 2008 11:05 am
by Enrico Maria Giordano
Latest CVS has a problem with some recent changes.
EMG