Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Share:
Notifications
Clear all

[Solved] From DELPHI to LAZARUS

4 Posts
2 Users
0 Reactions
2,305 Views
(@elico)
Active Member
Joined: 10 years ago
Posts: 9
Topic starter  

Hi 

I ussed DELPHI in the past , if I want to start using LAZARUS will it be a big jump or are those platforms "close" ?

Thanks 

Elico


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
 

Hi Elico,

Well, first thing to keep in mind is that Lazarus is more like Delphi 7, just more expanded and suitable for multiple platforms.

Next thing to keep in mind is that support for Linux, Windows and MacOS X is great. Check out the Lazarus Forum, you'll find some very helpful folks there.
Development for other platforms can be challenging, to get the configuration right, but it is possible.

Downloads are free of course, and you'll find those here.

The way I work with Lazarus:
I run development on a Mac (but you can choose Linux or Windows as well of course).
To compile and test on the other platforms (Linux and Windows in my case), I use virtual machines (I use VMWare Fusion, but the other alternatives like Parallels etc work just fine as well).
It is technically possible to run MacOS in a virtual machine, but I have to admit that I never got that to run really smooth.

Like I said: I develop my apps on a Mac, just pick one "native" environment you prefer.
Once I'm done with the programming part, I bring the code over to one of the virtual machines on which I have Lazarus installed as well, and simply recompile the code.

Normally; that's about it ... 

Now some other difference compared to Delphi, that I had to get used to:

- When you install a new component, the entire IDE will be recompiled (pretty quick)
- Lazarus ALWAYS has a project open, if no project is available it will open it's default empty project with an empty form
- You have to learn to drop the use of system specific calls, like for example the Windows API (you can still use it though, if you only develop for Windows), there are quite often cross platform alternatives available
- Lazarus is in constant development, so update when a new release becomes available is recommended
- Unlike the newer Delphi variants: Lazarus uses native controls (no FireMonkey!)

Just to name a few. I found the transition from Delphi to Lazarus pretty easy once I got used to those differences.

I'm not sure what you're looking for so feel free to ask ... 


   
ReplyQuote
(@elico)
Active Member
Joined: 10 years ago
Posts: 9
Topic starter  

My main intention is doing small databses for winows base target machines . 

I knew delpi 4 , so I wonder if it will help me acquiring lazarus. 
Is there a book that may help me learning lazarus ?
Thanks 
Elico

   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
 

To get started with databases, this Lazarus Wiki page is a good start. It will show several build-in database components and how to use them.

Delphi 4 knowledge will most certainly be helpful!
I do not recall Delphi 7 being that much different.

A list of books can be found here. But ... if you look around you'll find quite a lot of info and guides to get started.
When using Google I always start with "Lazarus Pascal" and then whatever phrase I'm looking for.
Most Delphi code will work almost instantly as well.


   
ReplyQuote
Share: