On Sun, 09 Nov 2008, Pritpal Bedi wrote:

Hi Pritpal,

> Can we have hb_gtInfoEx() function accepting 
> <pGT> as its first parameter and then the rest parameters.
> It will help me to control GT behavior from other threads .

   function hb_gtInfoEx( pGT, ... )
      local pCurrGT := hb_gtSelect( pGT ), xResult
      xResult := hb_gtInfo( pGT, ... )
      hb_gtSelect( pCurrGT )
      return xResult

> Also can we retrieve <pGT> for current context, i.e., 
> pGT := hb_gtCurrent() or like ?

   function hb_gtCurrent()
      return hb_gtSelect()

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to