Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-09

Support Interfaces

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Stephen Dickason

I'm new to the multi-OS programming environment and wondered if there was some documentation on the different interface mechanisms used in FPC?

*-----------------------------------------------------------------------

This E-Mail may contain confidential and/or privileged information. It is only intended for the use of the addressee indicated in this message. If you are not an intended addressee of this email (or responsible for delivery of the message to such person), the disclosure, copying or delivering of the contents of this email to anyone else is strictly prohibited and may be unlawful. If you receive this e-mail by mistake destroy the message and please notify us immediately by e-mail,

Information or opinions in this message that do not relate to the business of ELCB Information Services shall be treated as neither given or endorsed by it.

*-----------------------------------------------------------------------

Daniël Mantione
to Stephen Dickason

Op Mon, 17 Sep 2007, schreef Stephen Dickason:

I'm new to the multi-OS programming environment and wondered if there was some documentation on the different interface mechanisms used in FPC?

Please elaborate. Interface as in the language feature regarding interfaces between classes? Or operating system interfaces, i.e. API?

Daniël

Stephen Dickason
to Daniël Mantione
Show quoted text 5 lines
> I'm new to the multi-OS programming environment and wondered if there was > some documentation on the different interface mechanisms used in FPC? Please elaborate. Interface as in the language feature regarding interfaces between classes? Or operating system interfaces, i.e. API? Daniël

Sorry, I think I'm having a slow Monday.
By interface mechanisms I meant: gtk, win api, gnome (???), etc. Probably any existing/external api.
There seem to be a lot that I haven't heard of yet and don't know which OSs and architectures they work on etc.
One of the open source program problems I have is the amount of reading required to understand what the program is supposed to do in a nut shell and where it does it.
I am stuck with Windows XP and DG/UX unix for the moment, but want to move into linux (which version and gui will be interesting - pointers would be useful).
Stephen
*-----------------------------------------------------------------------

This E-Mail may contain confidential and/or privileged information. It is only intended for the use of the addressee indicated in this message. If you are not an intended addressee of this email (or responsible for delivery of the message to such person), the disclosure, copying or delivering of the contents of this email to anyone else is strictly prohibited and may be unlawful. If you receive this e-mail by mistake destroy the message and please notify us immediately by e-mail,

Information or opinions in this message that do not relate to the business of ELCB Information Services shall be treated as neither given or endorsed by it.

*-----------------------------------------------------------------------

Daniël Mantione
to Stephen Dickason

Op Mon, 17 Sep 2007, schreef Stephen Dickason:

Show quoted text 11 lines
>> I'm new to the multi-OS programming environment and wondered if there was >> some documentation on the different interface mechanisms used in FPC? >Please elaborate. Interface as in the language feature regarding >interfaces between classes? Or operating system interfaces, i.e. API? >Daniël Sorry, I think I'm having a slow Monday. By interface mechanisms I meant: gtk, win api, gnome (???), etc. Probably any existing/external api. There seem to be a lot that I haven't heard of yet and don't know which OSs and architectures they work on etc.

If you just want to start platform independend development I'd just use Lazarus with the LCL, and choose between gtk/win api etc. with the push of a button. The LCL is documented on the Lazarus web site and that is all you need to worry about.

If necessary, you can access gtk, win api etc. directly from Free Pascal, but you need to know how they work. You can find documentation on the GTK and Microsoft websites, this is not provided Free Pascal. If you are a beginner, don't worry about this, simply use the LCL.

Show quoted text 7 lines
One of the open source program problems I have is the amount of reading required to understand what the program is supposed to do in a nut shell and where it does it. I am stuck with Windows XP and DG/UX unix for the moment, but want to move into linux (which version and gui will be interesting - pointers would be useful). Stephen

Lazarus should be perfect match for you. Simply install Lazarus, make a quick program (explains itself mostly), and see if it suits your needs.

Daniël

Graeme Geldenhuys
to Stephen Dickason: Sorry, I think I'm having a slow Monday. By interface mechanisms I meant: gtk, win api,…
Stephen Dickason wrote
I am stuck with Windows XP and DG/UX unix for the moment, but want to move into linux (which version and gui will be interesting - pointers would be useful).

An alternative to Lazarus's LCL is the fpGUI toolkit. I am actively working on it. It's a more lightweight GUI toolkit talking directly to the underlying windowing system and doesn't rely on any large 3rd Party libraries, so deployment is a breeze. See the link in my signature for more details. You can also download the latest release from SourceForge.
http://sourceforge.net/projects/fpgui/

Regards,
- Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/