Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-23 Thread Saulius Zrelskis
Yes, you are right. Strange that no one reported it for such long time. Not true. I found version of gtwin.c dated 2008.01.18 and there were lines: ... /* Special case */ if ( usRows _GetScreenHeight() usCols _GetScreenWidth() ) { HB_GT_FUNC(gt_SetMode(

Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-23 Thread Przemysław Czerpak
On Wed, 23 Dec 2009, Saulius Zrelskis wrote: Hi, Yes, you are right. Strange that no one reported it for such long time. Not true. I found version of gtwin.c dated 2008.01.18 and there were lines: ... /* Special case */ if ( usRows _GetScreenHeight() usCols

Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-23 Thread Jacek Potempa
Yes, you are right. Strange that no one reported it for such long time. Not true. I found version of gtwin.c dated 2008.01.18 and there were lines: ... /* Special case */ if ( usRows _GetScreenHeight() usCols _GetScreenWidth() ) {

Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-23 Thread Jacek Potempa
Przemysław Czerpak pisze: The real problem is the fact that you didn't start new thread but simply used replay option in your mail program so your both messages still belongs to the same initial thread. The context of subject is unimportant for mail programs which can follow threads. Just look

Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-23 Thread Saulius Zrelskis
Hi Przemek, It means that you had to take above code from xHarbour. I've just check that above fix were committed to xHarbour CVS by Paul at:   2006-07-01 18:35 UTC-0500 Paul Tucker ptuc...@sympatico.ca Mea Culpa! I understand that don't know much about history :( Thank you for correcting me.

[Harbour] Bug in hb_gt_win_SetMode()

2009-12-22 Thread Jacek Potempa
Hi, (sorry for my previous post under invalid subject - please ignore) Recently one of our customers reported bug in Terminal software. After tracing it down it seems that the actuall problem lays in xHarbour/Harbour implementation of the hb_gt_win_SetMode() / gtwin.c SetConsoleWindow API

Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-22 Thread Massimo Belgrano
Can you post a little sample to show the problem so i can try on Terminal server Citrix? 2009/12/22 Jacek Potempa jacek.pote...@otc.com.pl: Hi, (sorry for my previous post under invalid subject - please ignore) Recently one of our customers reported bug in Terminal software. After tracing

Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-22 Thread Jacek Potempa
Massimo, The bug is not related to Cytrix or Terminal server. Just try to execute the following PRG code directly under Windows console: SetMode(25,80) ? Initial console size:, maxrow()+1,X, maxcol()+1 ? Changing to :, maxrow()+1+1, X, maxcol()+1-1 wait SetMode(maxrow()+2,maxcol()) ?

Re: [Harbour] Bug in hb_gt_win_SetMode()

2009-12-22 Thread Przemysław Czerpak
On Tue, 22 Dec 2009, Jacek Potempa wrote: Hi, (sorry for my previous post under invalid subject - please ignore) The subject is not the problem. The real problem is the fact that you didn't start new thread but simply used replay option in your mail program so your both messages still belongs