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 ?
TDatePick failed
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
TDatePick failed
kind regards
Stefan
Stefan
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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('')
This is the line that fails with xHarbour:
Code: Select all
aVAR[3] := Date() // ctod('')
We need to find what is wrong with xHarbour ctod('')
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
Antonio,
I found, that the DTM_SETSYSTEMTIME message sets the state of the checkbox. maybe this message is not correctly evaluated and causes the crash.
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().If you change ctod() call to Date(), then it works fine here.
We need to find what is wrong with xHarbour 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.
kind regards
Stefan
Stefan
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact: