Page 1 of 1

modify lib hbcom

Posted: Wed Dec 14, 2011 10:07 am
by jairpinho
Staff have to modify the lib hbcom and I'm compiling giving errors but this hb_imbufsize FindIndex and, among other commands how do I use these commands with HMG and modify the lib hbcom.

HB_FUNC( INBUFSIZE ) // Find out how many chars are in input buffer
{

int nIdx ;

nIdx = FindIndex( hb_parnl( 1 ) ) ;

if ( nIdx != -1 )

hb_retnl( hb_inbufsize( nIdx ) );

else

hb_retnl( 0 ) ;

}