Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2007-11

  1. Linux : Using SDL with GTK2 ?

    Tom, Andrew Haines, Darius Blaszyk
    5
  2. gprof setup on windows

    I would like to profile my code on windows. I tried searching the wiki, but without much success on how to do that on windows. Can anyone explain me in a few words how…

    Darius Blaszijk, Graeme Geldenhuys, Peter Vreman
    2
  3. FCL-DB/SQLDB docs started

    Leonardo and I have been working on structuring together some notes and docs for fcl-db and sqldb. I am not as experienced with sqldb yet but as I have more time there…

    L, Adrian Maier, Chris Kirkpatrick
    32
  4. Notice: Possible copyright infringements in FPC code base

    The FPC team has been recently made aware that a number of routines in the Classes unit are apparently based on code originally from Borland/CodeGear. After someone…

    Michael Van Canneyt, Chris Kirkpatrick, Felipe Monteiro de Carvalho
    31
  5. Lazarus + Qt4 in FreeBSD

    Hi! How to build lazarus with Qt4?? I set the interface of lazarus to Qt and try rebuild only LCL, but when it is rebuilding, it stops because it don't found qt4.pas.…

    Unknown author, Den Jean, Felipe Monteiro de Carvalho
    30
  6. streaming file from zip into my app

    I'd like to unzip one file from a zip archive and use it directly as input for something else (sax or self written parser). Since the unzip package form the "extra" dir…

    Marc Santhoff, Darius Blaszijk, Graeme Geldenhuys
    12
  7. Help getting started with FPC

    I am new to FPC, and can't get started. I have used Think Pascal, and I seem to have quite a hurdle here. Someone else told me that I need to start XCode first. I did…

    Edward Kearns, Chris Kirkpatrick, Jonas Maebe
    7
  8. Libc and 2.2.0

    after I upgraded fpc 2.0.4 -> 2.2.0, I can't find unit Libc => can't use Synaser and RS232. I use Kubuntu 6.10 and I'm not a programmer (I am electronics). Any advise?…

    Unknown author, ik, Luca Olivetti
    3
  9. Capture HeadTrace output to file?

    If I compile a project the -gh (Heaptrc unit), how to I capture the output generated when I quite the application to a file? I tried the normal: $./text > out.log But…

    Graeme Geldenhuys, Henry Vermaak, Marc Santhoff
    10
  10. Heaptrc unit is awesome

    I had a suspicion that fpGUI was leaking some memory. After activating Heaptrc I got a bit of a shocker. I needed to log the output to file because it was *very* long. …

    Graeme Geldenhuys
    1
  11. PROCESS_ATTACH on Linux?

    I am trying to convert a Windows DLL to a "lib" file for (Debian) Linux. The DLL uses PROCESS_ATTACH and PROCESS_DETACH (DllProc). Is there an equivalent feature in…

    Unknown author, Michael Van Canneyt
    1
  12. INCLUDE directive syntax

    Running 2.2.0 on Win-32 and Linux is it possible to have an absolute (fully-qualified) path as the parameter of a $INCLUDE directive? I've been trying to include a file…

    Mark Morgan Lloyd
    0
  13. Re: Re: IPC/SHMGET and Multiple Variables (Marco van de Voort)

    Thanks Marco. Works fine !

    Unknown author
    0
  14. [OOT?] xlib+gnome: bring Run dialog up front

    Ok, I give up. :-D How to bring the Run dialog up front? Here's the code, I got it from http://darkness.codefu.org/wordpress/2004/07/24/152 and translate it to pascal.…

    Bee
    1
  15. fpc 2.2.1 mysql50 is broken on complex queries

    Some complex queries are failed to be executed on mysql50 using fpc 2.2.1 (rev 9278). Complex queries are queries that involving aggregate query clauses (group by, max,…

    Bee, Marco van de Voort, Vincent Snijders
    6
  16. Delphi + FPC + HTTP + Magic = ?

    How to target linux, bsd, and cPanel with Delphi on Windows.. using magic.. http://z505.com/videos/d5/linux-delphi-webapp.htm Mirror:…

    L
    0
  17. IPC/SHMGET and Multiple Variables

    Hi I want to use IPC Shared Memory mecanism to enable communication between Linux processes. I followed doc example…

    T.Guilleminot, Marco van de Voort
    1
  18. Query

    FPC List: I am a Programmer of a few languages. I can't seem to think of much to write. I'm wondering if others, could tell me what you have written..to give me a few…

    Bobby Walters
    0
  19. Should Insert+Edit Fields+Insert again on a TDataSet work?

    Please take a look at the following discussion on this bug report: http://www.freepascal.org/mantis/view.php?id=10165 The question is very simple. Suppose a trivial…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, John & Marg Sunderland
    4
  20. How to send stdout pipe to a process ?

    Dear I would like to send a TStringList.text to an external process (kind of stdout) i have an external process that require to receive datas from stdin like…

    TOUZEAU DAVID, Wanderlan Santos dos Anjos
    1
  21. HOW TO, PROBLEM read stdin (linux) ??

    Dear What is the best way to read into a memory datas from this command. "/bin/myprogram </home/tests/file.txt " my test program read only the first line from stdline.…

    TOUZEAU DAVID, Wanderlan Santos dos Anjos
    2
  22. binstr for single type

    Hello, I need a routine binstr(var val:single;,....) since no such in the rtl exists I decided to write one. Also I wanted to make reverse routine bin2float where the…

    Krekan
    0
  23. cdecl or stdcall on WinCE for ARM

    what is the right calling convention for using system libraries on wince for ARM ? I wrote a pascal wrapper for a system dll and used stdcall for the calling convention…

    Adrian Veith, Florian Klaempfl, Henry Vermaak
    3
  24. 0.9.24 released

    The Lazarus team is glad to announce the 0.9.24 release. This release is based on fpc 2.2.0. This release can be downloaded from the sourceforge download page:…

    Mattias Gaertner, Bernd Mueller, Mattias Gärtner
    5
  25. זה אצלך בבית

    זה אצלך בבית
    0
  26. Serial port interrupts?

    Hello people. To make a debugging tool, I need to time changes on the serial port control and status lines on a Linux machine. The serial port hardware has this…

    John Coppens, Tom Walsh, Unknown author
    2
  27. Handling TProcess Output (Pipe) "information by "information" and in Real Time ?

    I'd like to be able to run an external program (a kind of daemon) and then grab his output "information by information" and in REAL TIME. Then in the caller/main program…

    T.Guilleminot
    0
  28. MSEide+MSEgui Version 1.6

    MSEide+MSEgui version 1.6 for Free Pascal 2.2 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 It is mainly a bugfix and "many small…

    Martin Schreiber
    0
  29. PIC returns in 2.4?

    Currently the FAQ shows Position Independent Code generation is "currently broken" in the creation of shared libraries, (Future Plans shows 2.4 working to recover it). …

    Unknown author, afpTeam, Felipe Monteiro de Carvalho
    7
  30. Converting StrLCopy to widestrings

    In a LCL code we have: var FileNameBuffer: PChar; FileNameWide: WideString; FileNameWideBuffer: PWideChar; FilterBuffer: WideString; begin {$ifdef WindowsUnicodeSupport}…

    Felipe Monteiro de Carvalho, Marc Weustink
    5
  31. Is there some binary packet for ARM version 2.2

    I was searching for some binary packet for arm-linux and/or win32-arm for last release (2.2), but I have only found snapshot before release 2.2. Can anyone post me any…

    josepascual, Den Jean, Henry Vermaak
    2
  32. Software

    Does anyone on this list have a software to market? Or plan to write software that they will be marketing? If so, I have a solution. I am putting up a company, for…

    Bobby Walters, Jonas Maebe
    1
  33. Heaptrace and generics

    I am playing with generics around. I have implemented two simple Lists. A array based TList and a double linked TLinkedList. I have also written a test program to test…

    bartek, Micha Nelissen
    3
  34. Patch for testsqldb

    The attached file is a small patch for testsqldb.pp located at /fpc/trunk/packages/fcl-db/sqldb/ The patch adds sqlite3 database to the example. P.S.: This is the only…

    Leonardo M. Ram�, Jonas Maebe, Joost van der Sluis
    4
  35. there is some binary packet for ARM version 2.2

    I was searching for some binary packet for arm-linux and/or win32-arm for last release (2.2), but I have only found snapshot before release 2.2. Can anyone post me any…

    josepascual
    0
  36. From C to Pascal -- Help!

    I am translating a piece of code from C to Pascal... Any help? Thanks! /* C code */ void draw_fonts (HPDF_Page page) { int i; int j; HPDF_Page_BeginText (page); /*…

    Jilani Khaldi, Mattias Gaertner
    1
  37. CSV via PCRE

    Fields are separated by commas, but if a field is surrounded by double quotes it can contain commas---in fact, can contain any byte whatsoever; double quotes (") within…

    S. Fisher, Bee, Florian Klaempfl
    9
  38. GSoC

    Was you ever considering to get involved in the Google Summer of Code? There are lot of Open-Source projects in it, I think it would also be in the benefit of FPC to get…

    Musan Antal, Vincent Snijders
    1
  39. Faster fannkuch?

    This is faster than the one at the shootout (shootout.alioth.debian.org/gp4/benchmark.php?test=fannkuch&lang=fpascal&id=3) on my computer. See if it's faster on yours.…

    S. Fisher, Florian Klaempfl, L
    6
  40. Array slices

    A while ago in one of the FPC lists I had read that FPC 2.2.0 supports array slices. So I made a program to test this feature: The above code, as it is, compiles without…

    Christos Chryssochoidis, Daniël Mantione
    1
  41. regex-dna: finally fast enough?

    I don't think so, although it's over twice as fast as the last incarnation. One speedup I stole from the Perl program: instead of counting matches for /foo|bar/, count…

    S. Fisher
    0
  42. outportb

    I am new with FPC and I am trying something nasty on Linux SO (some lp0 output command by data bits). Is there any chance to use FPC on Linux to handle parallel port…

    Mihai, Felipe Monteiro de Carvalho, Marco van de Voort
    3
  43. More help with unicode

    I still have some issues with unicode support =) I am trying to implement unicode support for TMemo, but somehow the solution isn't simple. TMemo will throw a…

    Felipe Monteiro de Carvalho, Jonas Maebe
    4
  44. Help making code unicode capable

    I have a small piece of code on LCL which I have found hard to convert to unicode: lpStrFilter := StrAlloc(Length(Filter)+1); StrPCopy(lpStrFilter, Filter); on…

    Felipe Monteiro de Carvalho, Jonas Maebe, Marc Weustink
    9
  45. Have description of FPC regular expressions syntax ?

    syntax, that implementer by FPC regexpr.pp module ?

    Andrey Gusev
    0
  46. errno codes fpOpen

    I'm maybe lost in the doc searches, but is there a reference explaining the extended err codes for fpOpen and friends? I could not find one. The effort is a…

    afpTeam, Jonas Maebe, Marco van de Voort
    3
  47. fpnanosleep (again)

    Hi all. I need a small delay in my program, which bitbangs an i2c interface connected to the parallel port. This is mainly for educational purposes, so please don't…

    John Coppens, Micha Nelissen, Rainer Stratmann
    5
  48. is it safe to use v.2.2.1 for production use?

    I know latest stable release of fpc is v.2.2.0. But the latest updates and bug fixes are done on v.2.2.1. I found some serious updates and bug fixes are already done on…

    Bee, Daniël Mantione
    3
  49. ppcrossarm 220

    I have built a Win32 ppcrossarm.exe (2.20) compiler. The compiler works ok. The output from the Linux and the Win32 compiler when I use the -sh directive is exactly the…

    Carsten Bager, Florian Klaempfl
    3
  50. What about to support of automation technologies (UNO, COM) ?

    I have tried to compile of Delphi-UNO bridge (was fetched from sourceforge) - it was unsuccessful. After i have look through freepascal.ru, freepascal.org forums, i…

    Andrey Gusev, Florian Klaempfl, Krishna
    13