Hello Chief,
The program I (maybe) have to write an interface for, is written in such a way, that no direct graphical calls (to xlib, qt, or gtk) are done in the pascal program. In the program, there are only calls to a graphical sublayer (own design). The reason for this is that now only the graphical layer has to be rewritten, and the port to an other operating system is finished. Ofcourse the operating system needs a Pascal compiler (in this case extended pascal).
This approach also means that this layer does not need to be written in Pascal. Since QT is mainly designed for C++, and GTK+ mainly for c / obj-c, it is as far as I can see easier to write in C/C++. Personally I also prefer to write in C++, since it's OOP structure is IMO superior to a procedural approach. But I will try to find some Pascal units where GTK+ is used, since it is interesting anyway.
Thanks, Menno
On Wed, 30 Aug 2000, Prof Abimbola Olowofoyeku wrote: > On 28 Aug 00, at 21:28, Menno Schaap wrote:
Hi Frank,
Thanks a lot, as a non-programmer, I did not take the name mangling of c++ in account. Your explanation is well understandable and clear, as I have written c++ programs with overloading. Now I remember from my C++ book that the compiler distinguishes functions by the types used in its declaration. Also thanks for your compilation and linking options as well as the syntax change. BTW, I am planning to move to a new distro, slackware 7.1. GPC is not included, so I have to build it from source. Do you recommend to install ("patch") it on top of gcc or egcs. egcs is standard for slack, but if I am meddling around already, why not change this also. I am not certain yet if the work on this subject will continue for me, we are just looking for possibilities.
Do you have any specific reason for choosing Qt? Gtk might be easier to use with Pascal. I know that the FreePascal people already have Pascal units for the Gtk libraries. You might be able to use thoseas a starting point.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) Author of: Chief's Installer Pro v5.22.1 for Win32 http://www.bigfoot.com/~African_Chief/chief32.htm Email: African_Chief@bigfoot.com