On 2016-10-14 12:08, Mehmet Erol Sanliturk wrote:
> program can not be compiled as a Lazarus program or an fpGUI program as it
> is like compiling the same program by Delphi ( with required compiler
> directives ) . It is necessary either use Lazarus or fpGUI programming .
I am yet to see that in reality! [excluding all but he most basic "Hello
I've never come across a real-world Delphi project that can simply be
opened in Lazarus IDE and compiles 100% correctly first time. As proof
of that, it would also explain why Lazarus IDE includes the "Tools ->
Delphi conversion" set of menu items, which does a one-way conversion
(thus you can't go back to Delphi).
Saying that, yes it is partly possible to have a single project that is
compilable in both Delphi and Lazarus, but it requires significant
amounts of changes and compromises. I don't see any benefit in having
dual compiler and dual toolkit support in a single project.
> As an example , I want to convert my program to fpGUI . If I can do it , it
> may be more easy to convert it to C program. To convert it to fpGUI
> program is a hard problem because it is necessary to convert all of the GUI
> related parts.
And you think moving to C with a totally different GUI toolkit is any
easier? I seriously doubt that. I think it is pretty straight forward to
convert a Lazarus project to fpGUI - I've done it many times with
components and whole applications. It's not a 5 minute job, but will be
significantly less effort that moving to C/C++ and using GTK, Qt or
> was limited to Linux . I do not know whether the same program can be
> compiled as a Lazarus or MSEide program .
GUI programs - definitely not. Lazarus LCL and MSEgui are very
different toolkits. Much more so than LCL vs fpGUI.
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
My public PGP key: http://tinyurl.com/graeme-pgp
Lazarus mailing list