Questions tagged [lazarus]

Lazarus is an open-source multiplatform RAD environment for the Free Pascal compiler, in the spirit of Delphi, with which it has a fairly high degree of compatibility.

Lazarus is a an open-source multiplatform RAD environment for the Free Pascal compiler, in the spirit of Delphi, with which it has a fairly high degree of compatibility.

See http://lazarus.freepascal.org

1306 questions
47
votes
12 answers

Why would a Delphi programmer use Lazarus as the IDE instead of using Delphi's IDE?

I've been very happy with the Delphi IDE for programming in Delphi. But I've heard about the Lazarus programming environment, and I've also heard that some Delphi programmers use it instead of the Delphi IDE. What are the advantages that Lazarus…
lkessler
  • 19,819
  • 36
  • 132
  • 203
28
votes
2 answers

Convert Integer Into String

I have a some numbers stored in a Integer called mode, but I need to use they in a TProcess. For this I need to convert the Integer into a String, because if I don't do this, I got the error: Incompatible types: got "LongInt" expected…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
25
votes
5 answers

Is Lazarus a good alternative for learning Delphi?

I'm a teen who has been programming since 8 years old, so I know what I do. I want to take a look at Delphi Windows development. The problem with this, is that Embarcadero's Delphi is really expensive, and I can't afford it. I wanted to know if…
dysoco
  • 253
  • 3
  • 4
25
votes
4 answers

How to deploy Python to Windows users?

I'm soon to launch a beta app and this have the option to create custom integration scripts on Python. The app will target Mac OS X and Windows, and my problem is with Windows where Python normally is not present. My actual aproach is silently run…
mamcx
  • 15,916
  • 26
  • 101
  • 189
22
votes
2 answers

Redraw image from 3d perspective to 2d

I need an inverse perspective transform written in Pascal/Delphi/Lazarus. See the following image: I think I need to walk through destination pixels and then calculate the corresponding position in the source image (To avoid problems with rounding…
Kasper DK
  • 557
  • 2
  • 7
  • 17
20
votes
2 answers

Xcode 5.0 Error installing command line tools

I just downloaded the last version for Xcode (5.0) and need it develop some Pascal codes on Lazarus. However, the installation requires me to use command line tools, which have a problem downloading. When I click install, the program sends me this…
lazyboy007
  • 249
  • 1
  • 2
  • 11
20
votes
5 answers

What is the difference between Lazarus and CodeTyphon

Firstly, I saw some topics about these two but weren't my answer. I'm looking for a good FPC(Free Pascal Compiler) IDE on GNU/Linux. There are some IDE's like Lazarus and CodeTyphon. I need suggestion to choose one of those. I've tried Lazarus once…
Hamed Kamrava
  • 12,359
  • 34
  • 87
  • 125
16
votes
5 answers

Is there a simplistic way to extract numbers from a string following certain rules?

I need to pull numbers from a string and put them into a list, there are some rules to this however such as identifying if the extracted number is a Integer or Float. The task sounds simple enough but I am finding myself more and more confused as…
Craig
  • 1,874
  • 13
  • 41
12
votes
8 answers

Where can I find a "Turbo" or "Lite" version of Delphi?

I have a co-worker with a strong background in Ruby that is interested in getting started with Delphi and native development. However, I understand that Turbo Delphi (based on Delphi 2006) is no longer available for download. So...where does that…
Mick
  • 13,248
  • 9
  • 69
  • 119
12
votes
1 answer

Porting a multi-threading Delphi application to Mac: what are my choices?

I need to port an application (written in XE2) to Mac. My application is split into a simple UI executable (single-threaded) and an invisible engine (which heavily relies on OmniThreadLibrary 3.02 and Cromis DirectoryWatch) Both EXEs communicate via…
TheDude
  • 3,045
  • 4
  • 46
  • 95
12
votes
2 answers

How to detect memory leaks in Free Pascal/Lazarus?

In Delphi, I usually write a simple leak test like this: program MemLeak; {$APPTYPE CONSOLE} uses SysUtils; procedure Leak; begin { Put leaking code here. } end; begin ReportMemoryLeaksOnShutdown:= True; try Leak; …
kludg
  • 27,213
  • 5
  • 67
  • 118
11
votes
2 answers

How to call a list of the physically attached hard disks using Free Pascal, or, failing that, Delphi?

Further to this question and this one that I asked more recently but without the correct specifics...and lastly this one that I asked at the Free Pascal forum specifically.... Can anyone provide me with guidance, examples or a link to something…
Gizmo_the_Great
  • 979
  • 13
  • 28
11
votes
1 answer

Event assignment syntax in different Object Pascal dialects

I'm working on a component that should be shared between Delphi and C++Builder, so I'm using Pascal as the lingua franca. Because I don't have Delphi on my computer at home, I first created the component in the Lazarus IDE. Now I "ported" it to…
Wolf
  • 9,679
  • 7
  • 62
  • 108
11
votes
2 answers

What is Free Pascal's equivalent of Delphi's TStopWatch?

I need to implement simple performance benchmarking in Free Pascal. In Delphi I am using TStopWatch record from Diagnostics unit, what can I use in Free Pascal/Lazarus?
kludg
  • 27,213
  • 5
  • 67
  • 118
10
votes
8 answers

What would be the best solution for my Delphi apps on Linux - Delphi+Wine or Lazarus?

I need to make my Delphi solutions available on Linux and I have tested them on both Wine and Lazarus. What are the technical considerations I should take into account (Programming, Deployment, Maintenance etc.) on the longer term in order to avoid…
Johan Bresler
  • 6,450
  • 11
  • 56
  • 77
1
2 3
87 88