Re: What to do to get new users

Sven Barth via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAFMUeB_cz2KvpB=mzj7S5uJsj0BkCQoT13eCLttXM_rUgzGnBA@mail.gmail.com>
Travis Siegel via fpc-pascal <[email protected]> schrieb am
Mi., 20. Nov. 2024, 15:47:

> You missed the part when I said without some IDE or other.
>
> Show me a raw source file that doesn't depend on any IDE at all written
> in FPC, something I can compile from the command line using *only* FPC
> default installed resources.
>

Here is an example for using GTK2 directly:

https://gitlab.com/freepascal.org/fpc/source/-/blob/main/packages/gtk2/examples/helloworld/helloworld.pas?ref_type=heads

This page contains an example for X11:

https://wiki.lazarus.freepascal.org/X11

And here are some examples for work with the WinAPI:

https://wiki.freepascal.org/Windows_API_examples

In the end nearly all relevant GUI toolkits to interact with are C-based
(with the exception of Qt which is C++ and for which a flattening library
is available), thus for those that don't want to work with Lazarus, they
should simply look at corresponding documentation of the GUI toolkits.

Regards,
Sven

>

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.