[fpc-pascal] What to do to get new users
Sven Barth
pascaldragon at googlemail.com
Wed Nov 20 19:12:41 CET 2024
Travis Siegel via fpc-pascal <fpc-pascal at lists.freepascal.org> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20241120/b3a982e8/attachment.htm>
More information about the fpc-pascal
mailing list