Page 1 of 1

Msginfo Problem

Posted: Thu Oct 12, 2006 10:41 am
by giuliano
Hi to all FWH users!!

Test this:
Msginfo(DATE()) .

I've GPF error .

Normally i use dont'use this but today i'm making some test and I've found it.

If you write MSGINFO(dtoc(DATE())) all is ok.

Bye
Giuliano

Re: Msginfo Problem

Posted: Thu Oct 12, 2006 1:10 pm
by Enrico Maria Giordano
I confirm the problem.

EMG

Posted: Thu Oct 12, 2006 11:39 pm
by Antonio Linares
Giuliano, Enrico,

It works fine with Harbour but GPFs with xHarbour.

We are going to review it, thanks.

Posted: Fri Oct 13, 2006 12:09 am
by Antonio Linares
Fixed. At source\function\msgs.c:

Code: Select all

   #include <hbvm.h>
   ...
      case HB_IT_DATE:
           {
              hb_vmPushSymbol( hb_dynsymSymbol( hb_dynsymFindName( "DTOC" ) ) );	
              hb_vmPushNil();
              hb_vmPush( item );
              hb_vmDo( 1 );  
           }
           break;