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
7
votes
2 answers

How can you get hints for cells in a TStringGrid appearing more smoothly?

I am running Lazarus 0.9.30. I have a standard TStringGrid on a form and want to show a different hint as I move my mouse pointer over a column title. I am using this code to do this and it sort of works but you often have to click on the cell to…
user1174918
  • 525
  • 6
  • 22
7
votes
1 answer

How can you change the text orientation in cells in the fixed rows in a Delphi TStringGrid

I have a standard TStringGrid on a form. I have one Fixed Row in the grid that contains a number of columns, which are all TGridColumns objects. I have set the column titles using the object inspector and the default orientation is horizontal. Is…
user1174918
  • 525
  • 6
  • 22
7
votes
2 answers

Get Linux system info with Lazarus and FreePascal

I am really new to Lazarus/FreePascal and I have no prior Delphi experience. I want to be able to get OS version information and user account type on both WIndows and Linux. I saw that there is a Windows system API, but could not find anything…
Shade
  • 9,936
  • 5
  • 60
  • 85
7
votes
4 answers

What are good Lazarus/FPC Resources?

I want to learn to develop applications in Lazarus, but I need resources, preferably books, to Lazarus. Keep in mind that I know 0 of Pascal. Thanks.
dsocolobsky
  • 275
  • 2
  • 5
  • 13
7
votes
1 answer

FreePascal 64 bit DLL and calling C# Application

I am trying to compile a 64bit dll for use with a 64bit C# application. I have a simple class and a simple app to try and test it and it falls over no matter what I try and do. Here is the code: Delphi library project1; {$mode objfpc}{$H+} uses …
Jon
  • 38,814
  • 81
  • 233
  • 382
7
votes
5 answers

How can I perform the equivalent of shellexecute() in Lazarus for a Mac?

How can I perform the equivalent of shellexecute() in Lazarus for a Mac?
Jamey McElveen
  • 18,135
  • 25
  • 89
  • 129
7
votes
1 answer

Is there a way to use ONE procedure for multiple buttons in Pascal?

I am looking for a way to use one procedure for multiple buttons. It's for a quiz like you have to press Button 1 for question 1, but copy and pasting the whole code for 36 buttons and changing the variables for 36 buttons isn't really fun for…
7
votes
3 answers

How to switch between Win32/64 code generation in Lazarus?

I installed 64-bit Lazarus and want to generate 32-bit code. When I try to set Target OS to Win32 I get error message Compiler "C:\Programs\lazarus\fpc\2.6.0\bin\x86_64-win64\fpc.exe" does not support target x86_64-win32 so I guess I need to…
kludg
  • 27,213
  • 5
  • 67
  • 118
7
votes
4 answers

Is there a central FreePascal/Lazarus Component repository?

I'm looking to find something like Torry but instead of being Delphi centric, it should be Lazarus centric. I'm aware of the Source Forge Project Code and Component Repository but I'm looking for something with more span and a bit more searching…
Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76
7
votes
4 answers

Delphi - find character a given position/index

I have searched all over for this. In Delphi/Lazarus, given a position, I want to find the character at that position in a different string. I know how to find the position of a character. I need it the other way around: the character at a given…
preahkumpii
  • 1,301
  • 4
  • 21
  • 36
6
votes
3 answers

Can I use Lazarus Pascal to build for iOS AND Android

I would like to know: If it's possible to use Lazarus (Pascal) for both Android and iOS development. If the answer seems positive, do I need a third-party SDK/API or package to do this? Thanks!
itsols
  • 5,406
  • 7
  • 51
  • 95
6
votes
1 answer

OpenCV pointer to bitmap processing

I've created a shared library for contour detection that is loaded from a Delphi/Lazarus application. The main app, passes a pointer to a bitmap to be processed by a function inside the library. Here's the function inside the library. The parameter…
leonardorame
  • 1,131
  • 4
  • 18
  • 35
6
votes
2 answers

What would be involved in getting Free Pascal to compile into AVR, ATMega and Arduino?

Would it be too much of an effort to have FPC compile to the Arduino platform? I would really like to use Lazarus to do some "sketches".
Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76
6
votes
1 answer

OSX app crashing: code signature invalid

I have an OSX app that I distribute outside the AppStore. Therefor I sign it with the according certificate (Developer ID Application Certificate). The app itself is written in Freepascal (Lazarus) and has a dependency lib, written in C++, which I…
simonescu
  • 462
  • 5
  • 17
6
votes
4 answers

Unable to read final few Kb of logical drives on Windows 7 64-bit

I'm having some problems addressing logical drives. For clarity, my definition of 'Physical Disk' (PD) is the raw disk regardless of partitioning. 'Logical Drive' (LD) refers to a volume such as Drive E:, Drive F: etc. Using the examples from RRUZ…
Gizmo_the_Great
  • 979
  • 13
  • 28
1 2
3
87 88