Hi Przemyslaw! I'm converting an RDD written in C to work under the USRRDD. Some functions such as GOTO / TOP / BOTTOM, SKIP SEEK and were written in C that I would like to take advantage of them in this conversion and for this I need to pass them directly to the function USRRDD_GETFUNCTABLE().
I need to obtain the value of USRRDD_AREADATA() calling the macro SELF_USRDATA(pArea), but I had difficulties to assemble something equivalent in another module C. .. And as these routines may change as the evolution of the product I would propose the creation of a function to access this value as: PHB_ITEM hb_usrAreaData (int NWA, PHB_ITEM pNewValue) ( Areais pArea = hb_usrGetAreaPointer (hb_parni (1)); if (pArea & & pArea-> rddID <s_uiUsrNodes & & SELF_USRNODE (pArea)) ( PHB_ITEM pItem = SELF_USRDATA (pArea) -> pItem; if (pNewValue) ( hb_itemCopy (pItem, pNewValue); ) return pItem; ) return NULL; ) This will certainly facilitate access and maintenance of this value directly via C and would be something really faster. You have any other suggestions or the way would be this? Best regards, Vailton _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour