On Tue, 28 Apr 2009, Adam Lubszczyk wrote: Hi,
> Which console GT You prefer for Windows 98 ? Win9x console has known bug which cause that program is periodically frozen for some time period when it tries to execute some console functions. The bug is known from Win95 and so far I haven't found any information that some one resolved the problem. Harbour uses all known workarounds to reduce the problem except creating separate thread for calling console functions but there is nothing what can help in keyboard/mouse input and cursor shape/cursor positioning. In practice it makes GTWIN very unpleasure to use in Win9x. > I usualy use Clipper/Harbour not for dispaly realtime animation :-) . > So, maybe You make GT work like Clipper in window - aplication write to > memory buffer, and extra thread in fixed cycles (200 miliseconds) > display (copy) it to system console. The bug effects only Win32 programs not DOS ones. The separate thread can help a little bit but it will causes desynchronization between user input and program execution. just simply it does not eliminate delay so when user press a key application can receive it a while later. Also bad :-( Anyhow for some application it will not be big problem. I wanted to add such separate thread to process keyboard/mouse input and update the cursor and screen in the past but I do not have regular windows access and had some more important jobs. Maybe someone else can help you. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
