[fpc-pascal]Windows console

Andreas K. Foerster AKFoerster at nikocity.de
Wed Mar 7 18:39:40 CET 2001


Matthew Bradford <bigmatt19 at aol.com> wrote:

> > - Dos programs also run under Windows. So, is there any reason to make a
> > Win-exe for console-programs?
>     Yes, DOS programs are really only 16 bit using a 32 bit extender.  A
> win-exe console app is true 32 bit.  Also, WinNT doesn't do DOS
> emulation very well.

What exactly are the problems with NT?
Is it also faster or more stable on other Win-Versions?

> > - Is it possible to program a GUI-program, which compiles under Windows
> > as well as under Linux? What do I need? What does the enduser need?
>     Yes, use the GTK.  You need the GTK DLLs for the windows side, and most
> linux distro's have the GTK preinstalled.

I can't get it going, neither with Win nor with Linux.
I fetched the GTk+ DLLs for Windows from the Internet, but it still asks
for other more DLLs.
Okay, it's not that important to me, so I forget it for now and start
with console apps...

How can I at least get a white background?
(I do mean white - not lightgray!)

Can I change the name of the window?
Can I get it to start up in Text-Mode?




More information about the fpc-pascal mailing list