fpc-pascal · 2007-11
- 5
- gprof setup on windows2
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…
- FCL-DB/SQLDB docs started32
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…
- Notice: Possible copyright infringements in FPC code base31
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…
- Lazarus + Qt4 in FreeBSD30
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.…
- streaming file from zip into my app12
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…
- Help getting started with FPC7
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…
- Libc and 2.2.03
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?…
- Capture HeadTrace output to file?10
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…
- Heaptrc unit is awesome1
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. …
- PROCESS_ATTACH on Linux?1
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…
- INCLUDE directive syntax0
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…
- Re: Re: IPC/SHMGET and Multiple Variables (Marco van de Voort)0
Thanks Marco. Works fine !
- [OOT?] xlib+gnome: bring Run dialog up front1
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.…
- fpc 2.2.1 mysql50 is broken on complex queries6
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,…
- Delphi + FPC + HTTP + Magic = ?0
How to target linux, bsd, and cPanel with Delphi on Windows.. using magic.. http://z505.com/videos/d5/linux-delphi-webapp.htm Mirror:…
- IPC/SHMGET and Multiple Variables1
Hi I want to use IPC Shared Memory mecanism to enable communication between Linux processes. I followed doc example…
- Query0
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…
- Should Insert+Edit Fields+Insert again on a TDataSet work?4
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…
- How to send stdout pipe to a process ?1
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…
- HOW TO, PROBLEM read stdin (linux) ??2
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.…
- binstr for single type0
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…
- cdecl or stdcall on WinCE for ARM3
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…
- 0.9.24 released5
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:…
- 0
- Serial port interrupts?2
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…
- Handling TProcess Output (Pipe) "information by "information" and in Real Time ?0
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…
- MSEide+MSEgui Version 1.60
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…
- PIC returns in 2.4?7
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). …
- Converting StrLCopy to widestrings5
In a LCL code we have: var FileNameBuffer: PChar; FileNameWide: WideString; FileNameWideBuffer: PWideChar; FilterBuffer: WideString; begin {$ifdef WindowsUnicodeSupport}…
- Is there some binary packet for ARM version 2.22
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…
- Software1
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…
- Heaptrace and generics3
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…
- Patch for testsqldb4
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…
- there is some binary packet for ARM version 2.20
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…
- From C to Pascal -- Help!1
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); /*…
- CSV via PCRE9
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…
- GSoC1
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…
- Faster fannkuch?6
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.…
- Array slices1
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…
- regex-dna: finally fast enough?0
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…
- outportb3
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…
- More help with unicode4
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…
- Help making code unicode capable9
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…
- Have description of FPC regular expressions syntax ?0
syntax, that implementer by FPC regexpr.pp module ?
- errno codes fpOpen3
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…
- fpnanosleep (again)5
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…
- is it safe to use v.2.2.1 for production use?3
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…
- ppcrossarm 2203
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…
- What about to support of automation technologies (UNO, COM) ?13
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…
