Msginfo Problem

Post Reply
User avatar
giuliano
Posts: 30
Joined: Mon Sep 25, 2006 8:38 am
Location: ITALY

Msginfo Problem

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Giuliano, Enrico,

It works fine with Harbour but GPFs with xHarbour.

We are going to review it, thanks.
regards, saludos

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

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

Antonio Linares
www.fivetechsoft.com
Post Reply