Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2008-06

  1. Allegro.pas version 4.2.2 released

    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…

    Guillermo Martínez Jiménez, EarMaster - Bent Olsen, Jonas Maebe
    7
  2. Unicode file routines proposal

    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,…

    Felipe Monteiro de Carvalho, Florian Klaempfl, Graeme Geldenhuys
    97
  3. Unicode filenames

    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…

    Vincent Snijders, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    43
  4. class constants

    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

    Jonathan Benedicto, Anthony W.Henry, Cox
    31
  5. Carbon: GetTextExtentPoint and Access Violation (major show stopper)

    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…

    Bent Normann Olsen, Jonas Maebe
    3
  6. Armel compiled

    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:…

    Nataraj S Narayan
    0
  7. reading PPU files

    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…

    Mattias Gaertner, Florian Klaempfl, Michael Van Canneyt
    8
  8. Re: Mac Port Discussion

    ---- 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…

    Richard Ward, Daniel Stritt
    1
  9. Shared library with resources which contain bitmaps on Linux -- second try

    Hello FPC-Pascal users discussions! How can I build a shared library which contains many bitmaps loaded dynamically from the code using by: procedure…

    Roland Turcan, Jonas Maebe, Michael Van Canneyt
    6
  10. Re: Porting Discussion

    ------ 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…

    Richard Ward, Felipe Monteiro de Carvalho, Jonas Maebe
    6
  11. Re: Porting Discussion

    ---- 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…

    Richard Ward, Marco van de Voort
    1
  12. SysLocale.PriLangID vs Mac OS X localization

    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…

    Bent Normann Olsen, Adriaan van Os, Graeme Geldenhuys
    18
  13. Breaking code while deleting assembler file ?

    Simply program file with assembler code: program Buggy; {$asmmode intel} procedure TestProc; Assembler; asm jcxz @@odd @@odd: end; begin TestProc; writeln('OK'); end.…

    Seweryn Walentynowicz, Florian Klaempfl
    2
  14. Embedding a Video Player into a Linux/FP/GTK2 Application ?

    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…

    T. Guilleminot, Andrew Haines, Graeme Geldenhuys
    7
  15. Re: Window Ports

    ---- 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…

    Richard Ward
    0
  16. freepascal + mysql5 + osx

    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…

    Harald Lapp, Florian Klaempfl, Jonas Maebe
    9
  17. Shared library with resources which contain bitmaps on Linux

    Hello FPC-Pascal users discussions! How can I build a shared library which contains many bitmaps loaded dynamically from the code using by: procedure…

    Roland Turcan
    0
  18. [Core] Release FPC-2.2.2rc1 is available for download

    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…

    Mazen NEIFER, Bent Normann Olsen, Florian Klaempfl
    9
  19. teaching material[help]

    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…

    Galloplus Chang
    0
  20. Easiest way to get Lazarus on Linux

    Exists there a Debian DC/DVD with Lazarus on it? If yes where can I download it.

    Rainer Stratmann, Johann Glaser, Mattias Gaertner
    3
  21. How to use TCompressionStream?

    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}…

    Felipe Monteiro de Carvalho, Joao Morais, Marco van de Voort
    9
  22. FPC ARMEL EABI Help!!!

    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…

    Nataraj S Narayan
    0
  23. XML DOM and HTML

    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.…

    Johannes Nohl, Lee Jenkins, Michael Van Canneyt
    5
  24. MPL, LGPL rehashed again

    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…

    Graeme Geldenhuys, Jonas Maebe, Marco van de Voort
    9
  25. code speed and size on various platforms

    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…

    Mattias Gaertner, Lourival Mendes, Marco van de Voort
    10
  26. Problem with threads and cwstrings

    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)…

    Alexander Bauer, Jonas Maebe
    1
  27. Installing 2.3.1

    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…

    Lee Jenkins, Vincent Snijders
    1
  28. Aservia EndThread discovery

    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…

    L
    0
  29. Best way to use lists

    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…

    Michael Fuchs
    1
  30. Deamon & signals

    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…

    Koenraad Lelong
    0
  31. IPC on Windows?

    Does the FPC IPC implementation work on windows? Lee

    Lee Jenkins, Vincent Snijders
    4
  32. Binutils 2.18 cross win32-linux

    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.…

    Wanderlan Santos dos Anjos, Florian Klaempfl
    1
  33. roadblock with Synapse and SNMPv3 authentication

    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…

    Seth Grover
    0
  34. Sock2Text

    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…

    Carsten Bager, Marco van de Voort
    1
  35. Re: FPC_ARMEL system calls

    En/na Luca Olivetti ha escrit: I installed strace on the tablet: ~ $ strace ./hello execve("./hello", ["./hello"], [/* 59 vars */]) = 0 syscall: unknown syscall trap…

    Luca Olivetti, Florian Klaempfl, Henry Vermaak
    54
  36. Crt and remote terminal

    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…

    Carsten Bager, Jonas Maebe, Michael Van Canneyt
    3
  37. strace on Arm

    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…

    Nataraj S Narayan
    0
  38. Install in FreeBSD7 amd64

    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…

    Eduardo Morras, Jonas Maebe
    1
  39. linking to dll still fails

    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…

    Marc Santhoff, Michael Van Canneyt
    8
  40. x86_64 assembler

    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:…

    mm, Jonas Maebe, mjm
    7
  41. libmilter + freepascal

    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…

    TOUZEAU DAVID
    0
  42. Question using postgres

    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,…

    Gioachino Bartolotta
    0
  43. Date conversion question

    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'…

    Unknown author, Graeme Geldenhuys, Marco van de Voort
    3
  44. Re: FPC 2.2.1 on Mac OS X

    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…

    Karl-Michael Schindler, Damien Gerard, Felipe Monteiro de Carvalho
    11
  45. I broke the FPC wiki search

    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…

    Mattias Gaertner
    0
  46. Re: FPC_ARMEL ld-linux.so.3

    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…

    Nataraj S Narayan, Luca Olivetti
    1
  47. FPC on Palm

    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…

    Andrew Haines, Jonas Maebe
    1
  48. steering fpcmake for multiple platforms

    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.…

    Marc Santhoff
    1
  49. Widestring string functions

    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…

    Felipe Monteiro de Carvalho
    0
  50. Built in Query language (or abuse)

    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; //…

    L, Adrian Veith, Marco van de Voort
    2