fpc-pascal · 2007-06
- CGI upload app20
Hi I would like to upload a file through a web page. How can I do this using FPC? Is there any example available? Darius
- Documentation for sqldb33
Is there any documentation for the SQLDB components ? I have put a fair bit of effort in to looking round the FPC and Lazarus documentation and wiki areas, and while…
- html link extractor5
Is there a unit somewhere that can extract links from html pages? I want to be able to recursively add pages to a chm archive. Andrew Haines
- postgres3 async notify mem leak1
I'm using Postgres 8.1 and have async notifies working nicely based on select(). The problem is each time I get a notify I leak memory. I've commented out the PQfreemem…
- fpCanvas and FPColor property1
TFPCustomFont has a property as follows: property FPColor : TFPColor ... TFPColor is a record compared to Lazarus and Delphi's Color property being TColor with is a…
- How to analyze a core dump?24
I'm trying to debug a segment violation, I compiled the program with -g, but analyzing the core dump isn't really helpful, maybe the "warning can't read pathname for…
- fpcanvas and double buffering support0
Does TFPCustomCanvas have any mechanism to help with double buffering support? What does the ManageResources method do in TFPCustomCanvas? Graeme.
- What is TFPCustomDrawFont used for2
As the title says... Also what should I descend my fpGUI font class from? TFPCustomDrawFont or TFPCustomFont? - Graeme -
- fpcanvas and TFPEmptyXXX classes3
What is the point/purpose of the TFPEmptyFont, TFPEmptyBrush, TFPEmptyXXX etc. classes? They come in handy while I am implementing (converting) the fpGUI canvas class to…
- some problem with assembler code generated by fpc for arm0
I try to compiling a pascal unit with fpc and It compiles okey for i386 but arm with fpcrossarm compiling file show this two error: Compiling luaobjects.pas Assembling…
- fpcanvas and Interpolation filters2
Looking at the 'fpcanvas' unit in FCL it seems we only have the Mitchel Interpolation implemented. Is this a correct assumption? What about a few other types? 'Box' aka…
- fcl-image and fpreadXXX units4
In the fcl-image directory is a lot of fpreadXXX and fpwriteXXX units. Are those full implementations or are they abstract classes like TFPCustomFont, TFPCustomCanvas,…
- CheckSynchronize34
I was investigating the lazarus bug report http://www.freepascal.org/mantis/view.php?id=9068. It is caused by the following sequence of events (... eventually calls):…
- Fw: last svn fpc laz when build1
----- Original Message ----- From: 刘治国 To: Sent: Wednesday, June 27, 2007 9:57 AM Subject: last svn fpc laz when build last svn fpc laz when build erroer…
- How to get UTC time9
I work on a program wich need the UTC time, and this program will run with Windows and Linux. So how is it possible to calculate the UTC time under these two OS. For…
- GTK2 Lazarus Project, but I want QT.52
Hello, I've made this KCalculator for KDE: http://kde-apps.org/content/show.php/KCalculator?content=60813 I want to compile the project in QT, not GTK2. How can I do…
- fpc in cpp mode3
is it possible to tell fpc to only replace macros in the code and store/show the generated file? Like Running "cpp myfile.c > myfile.preprocessed.c"? Marc
- Using interfaces for compile time testing0
I'm pretty new to using interfaces... I want to use interfaces so that I can spot problems at compile time and not runtime. For example: If I used a base class with…
- Threads and runtime errors1
In the small threads program below I force a runtime error in a thread. How do I get access to the output from the thread when it stops? This program does not write…
- TFPTimer component.3
Some time ago, Graeme Geldenhuys (hope I spelled this correct from memory) posted some TFPTimer component to this list. The component was changed so another timer…
- Assigning a result of a method reference4
Taking the following code: {$mode objfpc}{$h+} class function tfoo.classmetadata: string; var vmetadatamethod: function: string of object; begin vmetadatamethod :=…
- Re: put data to stdout (fpc vs. gcc)20
Guess because you're using inc(count) which may tell the compiler to use a specific procedure, specific procedure that may have its own hidden variables. Use count :=…
- Starting new threads4
When you want to start a new thread, please create a new mail, instead of replying to a another message and changing the subject. The latter method messes up automatic…
- RE: fpc-pascal Digest, Vol 34, Issue 530
Is that the correct behaviour? I thought scope would be applied outwards so, first it would look at local procedures, then methods of the same class and lastly global…
- RE: heap problem or fpc_ansistr_decr_ref in FPC for ARM0
I have tried to compile program which failed in version 2.1.4 ppcrossarm as: Program received signal SIGSEGV, Segmentation fault. TRY_CONCAT_FREE_CHUNK_FORWARD…
- Compiler Crash0
my fpc (current version from svn ) compiler crashes, when I compile a procedure like this: procedure Crash; var c0: function: pointer; cdecl; c1: function: integer;…
- Re Serial (RS232)2
All I've am wondering if FPC comes with a simple way to use the serial interface to a system. If someone could point me to something within I would be much appreciated.…
- Metaware15
Heh, if you are reading this then you may know what Metaware is? I've a large(!) body of code written over the years under the Metaware Professional Pascal compiler. …
- a book about freepascal [off-topic]9
Hi I'm not sure if you guys are aware of this but here it goes. A brazilian publisher named Editora Erica (www.erica.com.br) published a brand new book about introdutory…
- Problem with array [Boolean]3
Using fpc 2.1.5 on Mac Intel, I am getting a wierd error on this line: Buffers[CurrentBuffer].DrawTo(MainForm.Canvas.Handle, 0,0); With the following declarations: public
- how to compile (PWU) project from command line10
I feel quite embarrassed asking this. :) I am clearly a victim of relying on programming tools to much (Lazarus) and forgot how to use the compiler directly from the…
- Lazarus/FreePascal Books & Tutorials?0
Well, I know my Turbo Pascal and when I first started using FreePascal I was like: "WOW, this shit rocks!". Enough fun already, I'm interested in learning more about : -…
- Question about some units2
I have a source file (test.pp) that uses some units. Where can I get those units? If you didn't notice, I am a newbie :) I tried to compile but it obviously drops an…
- library initialization and deinitialization2
I've got a shared library (.so) I wrote in C, with initialization and finalization code declared by using the GCC attributes constructor and destructor. These init and…
- Re: fpc-pascal DLLs3
Please tell me whether FPC Pascal makes DOS ( DPMI ) "protected mode" DLL and EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on DOS, even if there is NO…
- Mac losing Carbon support in 64bit Leopard9
Rumour has it that the Mac OS X 10.5 will not have 64bit Carbon support under Intel. That means that Intel based Carbon based apps will only ever be 32bit and that if…
- MSEide+MSEgui version 1.20
MSEide+MSEgui version 1.2 has been released: http://www.homepage.bluewin.ch/msegui/ Have a lot of fun! Martin
- this line in pascal compile for i386 version but arm version4
this pascal line . . . else Result :=Round(VarAsType(dataNum, varDouble))//varInteger) . . . compile okey in 2.1.1 and 2.1.4 fpc for i386 but 2.1.1 and 2.1.4 ppccrossarm…
- Problem with dynamic libraries2
i have written a dll (pasForNeko) in delphi / windows which can be called from the haxe/neko language, in order to use existing object pascal code from this language.…
- fpcunit documentation?4
I know FreePascal includes the fpcunit unit testing framework (the compiler knows where to find it), but I can't seem to find any documentation via the regular…
- Funny things about utf-8 strings on mac30
I edited my source code with TextWrangler (a macintosh text editor), setting the encoding to utf-8, and when I opened with Lazarus it would show the beginning of the…
- FPC's generics5
FPC uses 2 keywords for generics: "generic" for generic definition block, and "specialize" for generic type implementation. I think the "generic" keyword is quite…
- Search order for libraries, how to influence; using GMP5
I am trying to use the GNU Multi-Precision (GMP) library with FreePascal under Linux. I have a Pascal interface for GMP (originally for Kylix; translated from C header…
- FindFirst / FindNext with faHidden under Linux3
I'm doing a FindFirst / FindNext and fitering out all faHidden and faDirectory results. I don't want to show and dot (.<name>) directories as they are considered hidden…
- Re: Wiki Syntax Highlight8
If there was a petition for this, I would have signed it. We need SYNTAX highlithing ... :P NOW. :D If you do so, please use Geshi :D. It's the best and I use it a lot on
- installing latest stable13
I have downloaded a tar archive, fpc-2.1.4.i386-linux.tar there are no install instructions that I can find. Can anyone give me some guidance or perhaps a link. thanks…
- Where can I read about differences between 2.1.x and 2.3.x?1
I know that release is 2.0.x, development tree is 2.1.x (aka 2.2.0 beta) and what is v2.3x? Where can I read about differences between 2.1.x and 2.3.x? best regards Jose…
- PASCAL programming for Novice17
I am completely new to programming and I have been watching this list over some few months. I would be glad, if i can get a link to where I can get a book to download…
- FPC only 32 bits?31
Just tried to install the FPC port in a AMD64 FreeBSD and got an error that it was an i386 only port. Is this a deficiency of the port in FreeBSD or is FPC only 32bits?
- strange "with" usage3
In a delphi app I came across the following syntax; with PropInfo^, PropType^^ do Which results in a "Error: Illegal qualifier". Has anyone an idea of what is meant here…
