On Sun, 7 Nov 2004 22:59:08 +0300, Rimgaudas Laucius wrote
Hello,
Show quoted text 18 lines
> 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 might be wrong, but it seems to me that you're basically talking about creating an alternative implementation of Win32 console windows. Whereas this might be possible in theory, it would be probably a very complex task to implement it... Integration on the FPC level only (like creating replacement/wrapper functions for the appropriate console related Win32 API calls in unit windows) would have severe limitations (including incompatibility to any external libraries using these calls), anything else would depend on availability of all required hooks from Win32 or lower-level APIs (which I somewhat doubt).
Tomas