lazarus Questions

5

Solved

In the past I had to work with big files, somewhere about in the 0.1-3GB range. Not all the 'columns' were needed so it was ok to fit the remaining data in RAM. Now I have to work with files in 1-2...
Unmerciful asked 3/4, 2014 at 19:36

1

Solved

I downloaded, what i thought, would be the 64-bit version of Lazarus: Although it downloads a 32-bit build: And after installing it, the IDE is 32-bits: And it builds 32-bit binaries: C...
Tabithatablature asked 16/3, 2014 at 17:36

3

Solved

Is there a compiler define that tells if source code is compiled with delphi, in the sense of an equivalent to the FPC define in Free Pascal? I am developing a unit that should be compatible with ...
Altostratus asked 16/1, 2014 at 23:29

1

Solved

I am using the latest version of Lazarus IDE and I have a Memo1 on my TForm1. I have to load a text file in Memo1 and then edit every line of the Memo (I use Memo1.Lines.Strings[i] := ...). At the ...
Objection asked 1/1, 2014 at 22:1

0

I've tried to modify the TrapSend.dpr sample project which I downloaded from http://synapse.ararat.cz/files/contrib/Trap.zip to send SNMP v2 traps without success. Note: I'm able to successfully se...
Dennard asked 29/10, 2013 at 10:9

2

Solved

I am trying to copy part of a Treeview to a popup menu, and am not having any luck at all I just cannot seem to get recursion to work and I know I am probably doing it all wrong. Take this example...
Middlebrow asked 14/9, 2013 at 13:36

2

Solved

Style Guide? Other than http://wiki.freepascal.org/Coding_style is there a style guide that represents the style followed by a notable and large body of work in Lazarus ( and/or FPC and/or Delphi)...
Sihun asked 4/9, 2013 at 14:2

1

Solved

I recently started using OmniXML primarily because it can be used for both Delphi and Lazarus. I myself am a beginner when it comes to XML, and this is where I hope I can learn some things or avoi...
Burleson asked 3/9, 2013 at 11:22

2

Solved

Note Sorry in advance for the long post, I though it would be best to put as much information on as possible rather than fill the gaps when needed. Note although I have tagged this as Delphi as w...
Isometry asked 2/9, 2013 at 18:5

8

Solved

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, Mai...
Neutron asked 21/5, 2009 at 6:59

1

Solved

I organise my app's source code into Pascal compilation Units using File -> New Unit The following Unit compiles OK ... unit CryptoUnit; {$mode objfpc}{$H+} interface function Encrypt(key, ...
Berenice asked 23/8, 2013 at 16:52

3

I want to find a way to know that a form was created at run time (or destroyed). This for Delphi or fpc. Many thanks PS : Is there a way to retrieve that info for all objects ?
Moult asked 11/6, 2013 at 11:0

1

Solved

I am embarking on a cross-platform app, but not mobile. It will be Windows, MacOS and Linux. Would love to use Delphi + FireMonkey, but it appears Linux is not a possible target? The GUI will not b...
Padraig asked 27/5, 2013 at 5:10

3

Solved

I have done a little work on lazarus' free pascal. So when a client asked me to write an application for a mac, after the initial, "it can't be done" stage. (followed by an asp.net maybe stage) i t...
Heptagonal asked 18/9, 2011 at 17:26

1

Solved

Is there ANY way to get pixel color under mouse cursor really FAST? I have a mouse hook and I try to read pixel color during mouse move. Its kind of ColorPicker Any attempts with getPixel and BitB...
Scrimpy asked 1/3, 2013 at 10:29

2

Solved

As you can see in my question history, I'm developing a eBook manager, that will be open-source and I will release it in about 10 days, but I have a TRadioGroup, as you can see: TRadioGroup Used On...
Soilasoilage asked 31/12, 2009 at 17:16

1

Solved

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...
Punkah asked 13/1, 2013 at 12:7

2

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...
Johnsonjohnsonese asked 9/1, 2013 at 18:31

2

Solved

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?
Cambium asked 18/12, 2012 at 6:13

12

Solved

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...
Ballista asked 4/5, 2010 at 3:21

2

Solved

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 ReportMemoryLeaksOnSh...
Lati asked 14/10, 2012 at 4:20

1

Solved

MainForm creates some secondary Frame objects at runtime to display various option panels. Here's a typical constructor for one of those frame classes (they each extend TFrame): constructor Tfra...
Wilbertwilborn asked 26/9, 2012 at 4:19

2

Solved

I am looking for a predefined symbol to write a code like that: {$IFDEF LAZARUS} // code compiles by fpc/lazarus {$ELSE} // code compiles by delphi {$ENDIF}
Womenfolk asked 30/8, 2012 at 15:8

2

I want record screen (by capturing 15 screenshots per second). This part I know how to do. But I don't know how to write this to some popular video format. Best option which I found is write frames...
Regain asked 20/6, 2012 at 15:20

2

Solved

How to create (when I want to show it) and destroy (when I want to hide it) frames on the main TForm? Frames' align = alClient. I tried this: The form: unit main; interface uses Windows, Mess...
Accepter asked 15/5, 2012 at 20:59

© 2022 - 2024 — McMap. All rights reserved.