fpc-pascal · 2009-01
- heap size growing7
I've got a fairly large system (originally written in Delphi, then moved to Kylix, and now finally in FPC 2.2.2) which is doing a lot of different things. Various…
- Re: Error: Assembler as not found, switching to external assembling2
It should be stressed that this problem is not isolated to one user; I have got questions from at least two users of Lightweight IDE. The IDE has nothing to do with it,…
- absolute beginner23
I am an old goat for what concerns Delphi, but I am an abolute beginner re FPC. One simple question: is there around any (free or commercial) grid component like…
- Graphic LRS creator6
Hi all! I created a gui tool to build lazarus resouces (lrs). You can add folders and files and load/save your resource configuration. It's based on LazRes tool from…
- TZipper from FPC 2.2.23
While I wait for FPC 2.4, which brings a much better TZipper, I am trying to use the existing TZipper to create a zip file with the following structure: file1 file2…
- Simple question about {$R +}1
When I use a dynamic array and SetLength(), does the {$R +} option check subscript ranges on that array? Dave [RLU #314465]…
- crossplatform networking5
I need to build some crossplatform networking applications. It'd be UDP-based. It should be able to support at least 3 mainstream OSes: Windows, Linux, and Mac. It also…
- Suggestions for fpspreadsheet13
I got some time and I decided to improve fpspreadsheet: http://wiki.lazarus.freepascal.org/FPSpreadsheet I wrote a OLE document generator, so now it is possible to…
- If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) <= 32 Then9
Thanks in advance! [Any ideas why this works: ExecuteName := (AppPathExe + 'Del2Pas.bat.lnk'); ExecuteShell; ] [But this doesn't work: ExecuteName := (AppPathExe +…
- Freepascal 2.2.4rc1 released10
We have placed the first release-candidate of the Free Pascal Compiler version 2.2.4 on our ftp-servers. You can help improve the upcoming 2.2.4 release by downloading…
- Info for building FPC ...2
i already downloaded, printed and read marcov's pdf reg. building fpc. I have the need, to build / compile fpc, using only the fpc executable ( ppc386 or ppcx64 ), the…
- Breakpoints in certain procedure don't get hit.2
MacOS X 10.5.6, fpc 2.2.2 In Xcode 3.1.2 I'm having trouble getting breakpoints to get hit in a certain procedure. Breaks in other procedures in the same file work. I…
- Announcing CrossGL4
It is my greatest pleasure after a years of development to announce the launch of a brand new general-purpose vector & raster graphics imaging library called CrossGL.…
- Lazarus Resource...1
Hi all! An stupid question... A resource file (lrs) can have 2 resources with the same name?
- Xcode access to fpc documentation2
Is there a way to add the fpc documentation so that Xcode help can access it like the docsets? In the MacOS fpc 2.2.2 download, in the MainUnit.pas of the…
- Changes in sockets unit1
I saw many deprecated things in sockets unit. Could someone tell me what to do to port existing code? Why are Sock2Text and Text2Sock deprecated? You know, they're very…
- Profiling7
I need to profile lazarus applications under linux. I tried gprof, but it is broken since years and shows no record. I tried valgrind (callgrind), but it slows down the…
- FPC with Firebird SuperServer10
We have been using Mac OS X 10.5 XCode 311, Firebird 211 Classic 32 bit with FPC 224 (which contains the fix for the framework .dylib extension so that libfbclient.dylib…
- very simple text indexing system3
I would like to implement a very simple text indexing system (full text search) for one of our products. I know there are a few products our there I can use in…
- Is there a way to search this pascal group1
I know that I can chug thru http://lists.freepascal.org/lists/fpc-pascal/ by month/thread etc., but: Is there a way to search this pascal group:…
- EFCreateError' Unable to create file6
(Lazarus-0.9.26-fpc-2.2.2-win32.exe) winXP sp2 I am trying to SaveToFile a Memo1 to disk. But can't seem to get it to work. Is there a known bug? Try…
- Calling C functions from FPC8
On MacOS X 10.5.6 Intel targeting 10.3.9 PPC: What are the gotchas with respect to calling C functions from FPC? For example if I wanted to be able to make use some of…
- Re: Calling C functions from FPC0
Thank you, that helps. And I have found documentation in the FPC 2.2.2 download that talks about the Xcode integration templates that handle initial project setup. I was…
- SqlDB and MySQL connection string?2
When connecting to a Firebird database the connection string is as follows: "<server>:<database location>" Is the same format used for MySQL databases? What about any…
- Decimal Precision Issue with Firebird2
We are having problems reading decimal/numeric column types with TSQLQuery. It appears if the precision of a decimal/numeric is more than 4 (for instance, DECIMAL(12,8)…
- how to pass a unicode string pointer in Mac OSX1
I'm wondering how to pass a unicode string to a C function in Mac. The C export function has the following definition void function1(wchar_t *str); In windows wchar_t…
- Compiler error9
I have recently been getting the following error when tring to compile fpc using the standard sequence: svn update fpc make clean make all I tried deleting my complete…
- CPU affinity of TThread descendants5
I am running FPC 2.3.1 under Linux 2.6.26 on a twin CPU AMD Athlon MP system. Whenever I instantiate multiple descendants of the TThread class, they all seem to run on…
- n-tier development with Free Pascal4
I haven't dabbled into the DB components in FPC and Lazarus much. Does Free Pascal have a TClientDataset? Has anybody done any 3-tier development with Free Pascal? The…
- cross platform version of IsCharAlpha()15
IsCharAlpha() is a Win32 API call. I'm trying to convert code that uses that call, to be Windows and Linux compatible. Does FPC have a cross-platform version of that…
- A bash script file to help bind functions0
I've created for my own use a bash script file that try to find for me the proper library that contain a function when I create binding for libraries. The script file…
- for .. in loop implementation17
OK, I've read http://wiki.freepascal.org/Modernised_Pascal this (and the FAQ as well). I disagree with any statement saying that for .. in loop is only a type-saver.…
- Maybe one stupid question4
I'm using FPC 2.2.2 running over WinXP SP2. Are there any technical reasons that expains that a program runs faster using all checks ( I/O, Range, Overflow, Stack and…
- Workaround for #0011837 (FPC <= 2.2.2 with GTK >= 2.13)7
In case someone wonders how to workaround this bug http://mantis.freepascal.org/view.php?id=11837 (occurs with GTK >= 2.13.4, e.g. on Ubuntu 8.10 we have GTK 2.14): I…
- Is there a way to search this list for info on CheckListBox ?1
Is there a way to search this list for info on CheckListBox ? Thanks! ô¿ô V e r n WinXp sp2 , Delphi5, WebDwarf, Trellian WebPage,…
- DCPCrypt as part of FCL?6
DCPCrypt information http://wiki.lazarus.freepascal.org/DCPcrypt. Couldn't DCPCrypt become part of FCL packages? I noticed there is already a Blowfish unit in FCL-Base…
- compile/linker aborts0
This problem must be very basic, but the solution alludes me. I am writing a much larger program, but I have distilled the problem down to the following: OS: xp…
- Linker problem cf Object code0
This problem must be very basic, but the solution alludes me. I am writing a much larger program, but I have distilled the problem down to the following: OS: xp…
- test suite, TEST_REMOTEOPT0
I could not pass the test suite option TEST_REMOTEOPT to the makefile. I tried TEST_REMOTEOPT=xxx and "TEST_REMOTEOPT=xxx" both did not work on Win32. I changed the…
- csLoading and Create4
If a component is loaded from a stream, then csLoading is set in ComponentState (or so I thought I understood the concept) So in my component i do "if not(csLoading in…
- How to build .so with FPC and use it in C program?12
Hello, FPC-Pascal. How to build .so with FPC and use it in C program on FreeBSD platform? KES
- Debian Linux, BinUtils, FPC question2
I'm trying to get more information on how FPC uses BinUtils under Debian flavored linux. Any help would be greatly appreciated.
- TLS connection using OpenSSL0
In FreePascal, how is the right way to do a connection using OpenSSL like: openssl s_client -tls1 -connect beta.registro.br:700 -cert client.pem I tried using Synapse…
- How to allocate a 2D array?4
Hi! In my code I often use 2D arrays. Until today, I kept the maximum dimension fixed to 400 * 300 points. How can I make allocatable columns of ARBITRARY size? For…
- Library Project raises Linker Error Hints at -fPIC option3
I'm looking for a reason why I get this error while linking a compile of a Shared Object I'm building under x64 (Ubuntu). BinUtils 2.19 (Started with 2.18) but 2.19 did…
- Saving user created component structure to LFM file1
Hi, I have a problem saving a certain component struicture to an LFM (lazarus) file and read it back. since a good amount of code is in FPC, I am not sure which list to…
- Debugger support for FP (issues with libgdb.a)9
I've tried to use the debugger in FP 2.2.2 and I got this error "No debugger support available" The I read online and found that I need to get libgdb.a from a build of…
- 32 to 64 bits5
Can anybody help me understanding the variables which will be different (in size) in 32 and 64 bits versions, and which ones are "size fixed" across platform bits ? So…
- Writing a compiler8
I just finished taking compiler techniques class this semester and I'd like to write my own based on the one used in the class. The class uses Java with JLex and…
- Part of OOo Linux is written in FPC?1
I've read this in a discussion forum somewhere, is it true? View this message in context:…
