fpc-pascal · 2008-06
- Allegro.pas version 4.2.2 released7
A new version of Allegro.pas was released yesterday. Allegro.pas is a wrapper to allow Pascal compilers (such as Free Pascal) to use the Allegro library in games or…
- Unicode file routines proposal97
There is already another thread about that, but the thread got too long, and I would like to make a concrete proposal about unicode file routines. It looks simple to me,…
- Unicode filenames43
How does the RTL support using unicode filenames (e.g. file names that cannot be represented by the ansi char set)? For example the FileExists function takes a string…
- class constants31
Does FPC support class constants, and if it doesn't, are there any plans to add this support? Example: type TMyClass = class begin private const MyConst = '123'; end; Jon
- Carbon: GetTextExtentPoint and Access Violation (major show stopper)3
I've posted this issue on the Lazarus mailing list few weeks ago, and no breakthroughs. On the other hand, I suspect this problem could as well have to do with FPC…
- Armel compiled0
Hi Any problem with this file? Gives me a runtime error 203. Its a code compiled using ppcrossarm-2.3.1 with Gtk1. debian:/home/kodi# readelf -h so/muraj1 ELF Header:…
- reading PPU files8
I want to read ppu files like the ppudump tool. ppudump uses the unit compiler/ppu.pp, but ppu.ppu is not installed by default. At least not on debian. Should I make a…
- Re: Mac Port Discussion1
---- As are U.S. presidential elections. Sorry, that just slipped out. heh I agree with the comment about the perception of mac and pc users in a corporate…
- Shared library with resources which contain bitmaps on Linux -- second try6
Hello FPC-Pascal users discussions! How can I build a shared library which contains many bitmaps loaded dynamically from the code using by: procedure…
- Re: Porting Discussion6
------ Funny you mention this because my idea for a new application would directly compete with SAP for a particular industry. What is encouraging is that the opinion…
- Re: Porting Discussion1
---- I have known a few demented Mac users (of various subtypes) in my time (including myself,) but have never met one so powerful as described as to initiate an entire…
- SysLocale.PriLangID vs Mac OS X localization18
I've been working with CFBundle unit to try and figure how to get information about language settings, and so far with no luck. I've read about how Mac OS X works with…
- Breaking code while deleting assembler file ?2
Simply program file with assembler code: program Buggy; {$asmmode intel} procedure TestProc; Assembler; asm jcxz @@odd @@odd: end; begin TestProc; writeln('OK'); end.…
- Embedding a Video Player into a Linux/FP/GTK2 Application ?7
Hi ! I'd like to be able to embed a video player (preferably MPlayer) into a Freepascal/GTK2 application (on Linux) in order to display some video or webcam flows. I…
- Re: Window Ports0
---- I will second this opinion as last week, I was trying to find a 2D drawing program with a hint of CAD capabilities to replace my overaged Canvas v 3.5.4 which only…
- freepascal + mysql5 + osx9
after reading every bit of freepascal + mysql5 i could find on the net, i have still some problems getting this to run on OSX. i've installed mysql-5.0.45 and as i'm…
- Shared library with resources which contain bitmaps on Linux0
Hello FPC-Pascal users discussions! How can I build a shared library which contains many bitmaps loaded dynamically from the code using by: procedure…
- [Core] Release FPC-2.2.2rc1 is available for download9
After 9 months of active development and bug fixes, the Free Pascal core team is proud to announce the availability of the first release candidate of the expected 2.2.2…
- teaching material[help]0
I'm a student form China,and I'm helping my CS teacher teach those Juniors Free Pascal.So, is there recommendation on what book or guide is better to follow? I need…
- Easiest way to get Lazarus on Linux3
Exists there a Debian DC/DVD with Lazarus on it? If yes where can I download it.
- How to use TCompressionStream?9
I am trying to use TCompressionStream to compress a string. But the destination stream is empty. Here is by code, thanks: program stringcompressor; {$apptype console}…
- FPC ARMEL EABI Help!!!0
Hi I am finally able to get an ARMEL binary of FPC compiler 2.3.1 on my qemu emulated debian system. Have a look at the following:- But alas I still unable to compile…
- XML DOM and HTML5
I player around with the units dom and xmlread. I liked them very much. Now I thought I could parse websites with it. But they are slightly different as far as I know.…
- MPL, LGPL rehashed again9
I know there has been numerous threads about different licenses. I've got 1.5 years of archived mails and searched through all of them and read all related threads on…
- code speed and size on various platforms10
I would like to create a shot overview of the code quality of FPC. Please help to complete the list: Under i386 code size and speed is similar to Delphi and gcc (except…
- Problem with threads and cwstrings1
i have a problem when i use cwstrings together with threads on linux. I made a simple program which create threads in an endless loop. Every thread only does a sleep(1)…
- Installing 2.3.11
Hey, all is there a snapshot available for 2.3.1? I tried downloading the fpbuild kit and go woefully lost :) I'd like to upgrade, but not sure how get a good binary…
- Aservia EndThread discovery0
I found an issue in Aservia where linux was opening threads and not closing them. Using OpenWebLoad or Apache Bench the server would simply hang up after 380 requests…
- Best way to use lists1
I try to implement some lists, so I can use them like the "List(of X)" in VB.NET. What is the best way to do this? 1.) Make some new classes, derived from TFPObjectList…
- Deamon & signals0
I'm trying to make a daemon, to run on Linux. I got a testversion working, but I have a question about signals. I can respond to signals but every signal I didn't define…
- IPC on Windows?4
Does the FPC IPC implementation work on windows? Lee
- Binutils 2.18 cross win32-linux1
I'm doing crosscompiling from Win32 to Linux. I use Binutils 2.15 but this version gives error when cthreads unit is referred, probably because version 2.15 is too old.…
- roadblock with Synapse and SNMPv3 authentication0
I posted a similar email to the Synapse mailing list a while ago, but nobody ever replied so I thought I'd broaden my audience. Apologies if you're a member of both…
- Sock2Text1
Hi "Sock2Text" is marked as deprecated what should I use as replacement (I can not find a equivalent). Regards Carsten Med venlig hilsen Carsten Bager BEAS A/S…
- Re: FPC_ARMEL system calls54
En/na Luca Olivetti ha escrit: I installed strace on the tablet: ~ $ strace ./hello execve("./hello", ["./hello"], [/* 59 vars */]) = 0 syscall: unknown syscall trap…
- Crt and remote terminal3
Hi I would like to have the possibility to log in to my program via TCP and use the crt unit. (I monitor a connection attempt on a specific port number, and opens a…
- strace on Arm0
Hi I get the following strace out put when executing a fpc cross compiled binary using ppcrossarm (generated from latest fpc svn using following script :- #!/bin/bash…
- Install in FreeBSD7 amd641
Hello: I have upgraded my computer from x86 32 bits Freebsd 6.2 to a new amd64 with FreeBsd 7.0 64 bits (both, os and processor to 64 bits). When i try to install fpc i…
- linking to dll still fails8
I still have no success in linking against a dll on windows. The dll import source looks like this: ... {$linklib 'hdf5'} ... function H5open:herr_t;{$ifdef…
- x86_64 assembler7
How can one declare a constant of type qword with the INTEL assembler? I am using FPC 2.2.0 and the mnemonic "dq" stops the compilation with the message "Error:…
- libmilter + freepascal0
Dear I'm trying to find examples using libmilter (sendmail milter) with freepascal. Does anybody have usefull links or code with it ? best regards David Touzeau…
- Question using postgres0
Hi all! I am quite new to Free Pascal programming and I am trying to do some tests with databases. I have followed the wiki tutorial on SQLdb and use it with postgres,…
- Date conversion question3
I have a little project in which I need to convert various string encoded in various date format to TDateTime. For the same date, I'll have: '2008-05-10 21:49:21'…
- Re: FPC 2.2.1 on Mac OS X11
Hi I only noticed now the discussion on the mailing list about fpc 2.2.1 and lazarus on Mac OS X. As the maintainer of the .info files of fpc and lazarus I should…
- I broke the FPC wiki search0
I searched for 'optimize' and got a server error. http://community.freepascal.org:10000/search/search?q=optimize&t=Search Server Error There was a server error…
- Re: FPC_ARMEL ld-linux.so.31
Hi I find that in my qemu emulated machine , /lib/ld-linux.so.3 is actually a symink to /lib/ld-2.7.so. Whereas in my target Arm machine it is just ld-linux.so.3. Could…
- FPC on Palm1
Hi, I tried to build a crosscompiler for palmos-arm and palmos-m68k but both failed to compile. Here's the results for m68k make[5]: Entering directory…
- steering fpcmake for multiple platforms1
I'm in the process of making a package for fpc platform aware. It is developed and working on FreeBSD and I want to make it usable on Windows, too. My problems are: 1.…
- Widestring string functions0
While working with the WinCE interface I note a lack of immediate substitutes for many PChar rountines. Are them, maybe, somewhere I couldn't find? Or else, maybe we…
- Built in Query language (or abuse)2
A creative idea: procedure Query(trick: Array of Const); begin for i:= CASE // interesting code here end; const SELECT = 1; // token WHERE = 2; // token FROM = 3; //…
