Hello Przemek

Function Main()

   hb_threadStart( {|| First() } )
   hb_threadStart( {|| Second() } )

   do while .t.
       nKey := inkey( 0.2 )
       if nKey == 27
         exit
       endif
   enddo

   Return nil

Function First()
   hb_gtInfo( HB_GTI_WINTITLE, 'My First Function' )  // Appln Hangs
   Return nil

Function Second()
   @ 10,20 SAY 'My Second Function' COLOR 'W+/R'    // This works ok
   Return nil

hb_gtInfo() may be looking GT in another context.

Regards
Pritpal Bedi
-- 
View this message in context: 
http://www.nabble.com/MT-and-hb_gtInfo%28%29---Appln-Locks-tp20613862p20613862.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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

Reply via email to