[fpc-devel] gui console in windows

Rimgaudas Laucius rimga at ktl.mii.lt
Sun Nov 7 20:59:08 CET 2004


Hello,

> You can simply create a wingui unit which is e.g. graph based and which 
> redirects input/output.

>Nobody will stop you from creating a faster console under Windows. At least 
>don't expect anything to be written by the current fpc developpers.

>have you tried using virtual pascals wincrt unit with freepascal?
>and if so does it compile and work?

No. I know that you are very busy and do not expect from you anything to be 
written. But maybe you can help me with some hints how to do this if it is 
posible. You are experts in this case.
I ported VP wincrt unit but it is not very usefull. It just redirects 
input/output but that is not enouth.  I am thinking about creation console 
where windows console related functions (getconsolehandle, setconsolemode) 
could work. So standard crt and other console based units could work without 
additional efforts. Do you think it is posible to create and integrate into 
FPC such windows console replacement?



>> i am interesting, what do you think about redirecting text streams not to
>> windows console, but creating free pascal's own gui console (for example
>> implementing it under -WX switch)? I mean to do something like graph unit 
>> is
>> done now or unit wincrt in Virtual Pascal's rtl. Windows console looks 
>> like
>> some relict derived from dos. We have problems with keybord drivers and 
>> text
>> encoding in it (text prepared with windows editor needs to be encoder to 
>> dos
>> cp when outputing if you want to see national characters properly).
>> Different it's implementation in win9x and win2000,xp systems makes these
>> problems deeper.
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 






More information about the fpc-devel mailing list