Good for all.
See if someone can tell me how to access the internal structure of HB_ITEM Harbour (not xHarbour).
Specifically I want to access the address:
myItem->item.asString.length // NOTE, not the value but also the direction.
As an example:
myItem->item.asString.value;
I can access like this:
char MyPointer = myItem->item.asString.value;
or function:
char MyPointer = hb_itemGetCPtr(myItem) // This is the preferred
But myItem->item.asString.length, how?
There functions that do the same as hb_itemGetCPtr(myIyem) but myItem->item.asString.length?
///////////////// Espa帽ol /////////////////////////
Buenas a todos.
A ver si alguien sabe decirme como acceder a la estructura interna de HB_ITEM en Harbour (no en xHarbour).
Concr茅tamente quiero acceder a la direcci贸n de:
myItem->item.asString.length // OJO, no al valor si no a la direcci贸n.
Como ejemplo:
myItem->item.asString.value;
puedo acceder as铆:
char * miPuntero = myItem->item.asString.value;
o con la funci贸n:
char * miPuntero = hb_itemGetCPtr( myItem ); // Esta es la aconsejable
Pero para myItem->item.asString.length, c贸mo?
Hay alguna funci贸n que haga lo mismo que hb_itemGetCPtr( myIyem ) pero para myItem->item.asString.length?
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Sevilla - Andaluc铆a