>So it fails before hb_gt_os2_ReadKey().
>Let's check all steps.
>HB_GTSELF_INKEYPOLL( pGT ) executes hb_gt_def_InkeyPoll() from
>hbgtcore.c. Then hb_gt_def_InkeyPollDo() is called which calls
>   iKey = HB_GTSELF_READKEY( pGT, INKEY_ALL );

>Please change hb_gt_def_InkeyPoll() and hb_gt_def_InkeyPollDo().

I corrected your C code  :-)

Using HB_GT_OS2_DEFAULT

Some pass in:
   iKey = HB_GTSELF_READKEY( pGT, INKEY_ALL );

---------------
[...]
1. hb_inkeyPoll()
1. hb_threadMutexLock()
_hb_gettid()
TID=2
_hb_gettid()
TID=2
2. hb_threadMutexLock()
2. hb_inkeyPoll()
3. hb_inkeyPoll()
1. hb_gt_def_InkeyPoll()
2. hb_gt_def_InkeyPoll()
1. hb_gt_def_InkeyPollDo()
SYS1808:
The process has stopped.  The software diagnostic
code (exception code) is  0001.
---------------


David Macias

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

Reply via email to