fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Odd delimited text file length limitations6
Sirs (and Madams, as need be), I use Free Pascal to compose simple filters: I take in a comma-delimited ASCII file, work the data, and spit back out the altered info.…
- simple messagebox for windows5
I need a simple messagebox (or msgbox) for windows - that doesn't depend (use) a whole load of lcl or other stuff - did I miss this in the fpc docs - sounds as if it…
- missing stacktrace - why?1
consider the following code: program extest; {$mode objfpc}{$H+} uses Classes, Sysutils; {$R *.res} procedure foo; var L : TStringList; S : String; begin raise…
- video unit and pseudo-graphic characters on Windows2
I need to display pseudo-graphic characters on Windows XP (English version) using video unit from fpc-2.4.4 . When I use "Raster Fonts" they are displayed correctly
- Compiling FPC with DEBUG3
I compile FPC with success using my tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29…
- Installing *.deb Packages13
I downloaded some *.deb packages from here: http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386%20DEB/Lazarus%200.9.30/ and wanted to install with dpkg…
- status of sparc solaris support7
Quick question: http://freepascal.org says: "It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, PowerPC64, Sparc, ARM." "The following operating…
- Installing Lazarus on new Debian release1
How can I get Lazarus working on the new Debian release? There is much information on the web and it seems like everybody says something different. I have a script here…
- Variable export always uppercase?2
I'm trying to trick some c-libraries that use errno variable to think that it's located in my sources (Windows, MingGw compiled libraries). if I declare var ___errno:…
- resourcestring and const arrays6
In Delphi I can use resource strings with const arrays and everything works correctly. For example, if I have a resource DLL with translated strings and this will work:…
- Efficiency of generated code [x86_64]1
I'm puzzled by some of the code generated for x64. Came across this earlier post; http://www.hu.freepascal.org/lists/fpc-pascal/2005-March/008175.html Compiling the…
- Platform independent alternatives5
I'm porting an app from Delphi to Lazarus when I came across a couple of functions from the windows unit. Can anyone help me finding the platform independent…
- Kudos to the FPC team3
I know I'm sometimes hard on some developers. I guess sometimes one has to sit back and see the big picture too. While reading the following text from the OpenWatcom…
- porting to 64bit1
What's wrong on this condition to get the code running on 32 and 64bit: // Get pointer to varlength data. function GetVarLengthData(AVarLength:PAnsiChar):PAnsiChar; begin
- 6 byte real1
I discovered Free Pascal yesterday and I am working at recompilying my old Turbo Pascal (5.0) files. The first problem (but probably not the last) I encountered is the…
- Windows test program7
Hi I have this test program. It compiles and runs (shows) under Delphi (5.0). I can compile (and run it) it under FPC (2.4.4) but it does not show anything. I can see it…
- Linking to library on Mac1
I'm porting an app from delphi to lazarus and now I reached a problem when trying to link to the library. The library comes with the .dynlib .a and all header files. I…
- fpwrite error1
since i migrate to a 64bits hardware, i have compiled a old source with the last fpc 64 bits under linux. (due to an old 32 bits compiled software using in a 32 bits…
- build-id2
Hello With fpc for linux, I need to include a build-id to my executable but I don't see any option for this. I found that…
- Best integer type to be used for string indexes4
Reviewing a bunch of my string processing functions made me wonder what integer type should I use for position / length parameters. I used to plain "Integer" for this…
- Android4Pascal - How Does it Work?1
How does this work? I see it creates bindings but how does it bind the Pascal code with the Java code? Thanks
- Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts24
I found the packages for Debian / Ubuntu / Mint : ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/ How to install it? Am I really supposed to download…
- Pseudographics in FPC-IDE10
I have installed FPC on a Linux machine to find that in the virtual terminal (true text-mode, not GUI-based emulator) FP-IDE does not dispaly pseudographics…
- In 'stream:' (line 1 pos 1): Root element is missing5
I am using the xmlread.ReadXMLFile(doc, stream) function to read a XML. If I use a file works OK. If I use a Stream of the same file (I saved the Stream in a file and…
- https7
Is there a solution for https somewhere?
- XML read11
What is the more simpler way to get all text in each paragraph in the XML below, using fcl-xml? For example: Page 1 ------------------- Para 1: -1524 -888 -14/06/06 Para…
- creating cross compiler to fpc2
I'm trying to create a cross compiler for FPC to be 32 bit on Linux. My problem is that "as" and "ld" for 32 bit called "as86" and "ld86". How can I tell to the make…
- fpweb and http authentication4
How can I create http authentication using fpWeb ? I found on WWWAuthenticate, but I do not understand how to use it. Ido LINESIP - Opening the source for communication…
- "Illegal unit name", no change reguired?0
I faced the same problem as was described here http://www.hu.freepascal.org/lists/fpc-devel/2008-February/013028.html and briefly here…
- TFPDataHashTable2
I am tring to understand how to use TFPDataHashTable and upon using it I just manage to crash the application. program hashdemo; uses contnrs; var HTable:…
