Great, thanks a lot Przemek. Brgds, Viktor
On 2010 Feb 15, at 13:35, Przemysław Czerpak wrote: > On Mon, 15 Feb 2010, Szak�ts Viktor wrote: > > Hi, > >> How to verify from .c code if a given PHB_ITEM is a valid >> lib handler item? > > void * hb_libHandle( PHB_ITEM pDynLib ); > > i.e.: > > if( hb_libHandle( pItem ) != NULL ) > [...] > >> Also, is it possible to create a portable "getprocaddress" >> functionality in core? > > void * hb_libSymAddr( PHB_ITEM pDynLib, const char * pszSymbol ); > > i.e.: > > pFunc = ( PHB_FUNC ) hb_libSymAddr( pDynLib, "myFunc" ); > > best regards, > Przemek > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour