FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Utilities / Utilidades lock params from low level
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

lock params from low level

Posted: Sun Dec 27, 2020 10:23 AM

include <hbapiitm.h>

PHB_ITEM pBlock = NULL;

...

pBlock = hb_itemParam( 1 ); // 1 for first parameter. Automatically calls hb_gcGripGet()

...

hb_evalBlock0( pBlock );

...

hb_itemRelease( pBlock ); // automatically calls hb_gcGripDrop()

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion