TDatePick failed

TDatePick failed

Postby StefanHaupt » Mon Oct 20, 2008 10:27 am

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 ?
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby James Bott » Mon Oct 20, 2008 6:59 pm

>Is the latest xHarbour incompatible with older fwh ?

Probably.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby StefanHaupt » Tue Oct 21, 2008 7:35 am

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
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby Antonio Linares » Tue Oct 21, 2008 8:43 am

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Tue Oct 21, 2008 8:47 am

Setfan,

This is the line that fails with xHarbour:
Code: Select all  Expand view
   aVAR[3] := Date() // ctod('')

If you change ctod() call to Date(), then it works fine here.

We need to find what is wrong with xHarbour ctod('')
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby StefanHaupt » Wed Oct 22, 2008 8:29 am

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.
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby StefanHaupt » Fri Oct 24, 2008 10:25 am

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....
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby Enrico Maria Giordano » Fri Oct 24, 2008 11:05 am

Latest CVS has a problem with some recent changes.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests