FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MsgInfo() bug
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
MsgInfo() bug
Posted: Thu Jan 26, 2006 08:52 AM
This is the sample:

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL cStr1 := "1234567890"
    LOCAL cStr2 := "12345678901"

    MSGINFO( VAL( cStr1 ) )
    MSGINFO( VAL( cStr2 ) )

    ? VAL( cStr1 )
    ? VAL( cStr2 )

    RETURN NIL


Results:

1234567890
-539222987

1234567890
12345678901

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MsgInfo() bug
Posted: Thu Jan 26, 2006 10:34 AM

Enrico,

This modified source\function\msgs.c fixes it:

http://hyperupload.com/download/b171ed77/msgs.c.html

Thanks for your feedback :)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
MsgInfo() bug
Posted: Tue Feb 14, 2006 09:51 PM

Unfortunately this bug is still present in the FWH February build.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
MsgInfo() bug
Posted: Wed Feb 15, 2006 01:01 PM

Enrico,

Fixed:

http://hyperupload.com/download/b171ed70/msgs.c.html

It looks like a side effect of recent harbour/xharbour changes.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM

Continue the discussion