lock params from low level

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

lock params from low level

Post by Antonio Linares »

#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
Post Reply