Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2008-10

  1. Advantages page in website

    What happened to the advantages page in the Free Pascal website? It used to be: http://www.freepascal.org/advantage.html I would like to reference it from an article,…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, Jonas Maebe
    5
  2. cross os symbolic link handling

    is there any function or set of functions for handling symbolic links inside the file system at an os independant level in fpcs libraries? Unix-like systems have soft…

    Marc Santhoff, Michael Van Canneyt, Tomas Hajny
    4
  3. Question: range checking for string indexing

    Can someone confirm what range checking FreePascal does (if enabled) when indexing a string. I imagine shortstrings and ansistrings are handled differently, but cannot…

    Tom Verhoeff, Frank Peelo, Vinzent Höfler
    4
  4. ldap server written in pascal

    Is there some one out there ever write an LDAP server using Pascal (Delphi/FPC/GPC/whatever)? Now I required to write my own LDAP server (as user management system and…

    Bee
    0
  5. New object created in custom pool

    My application will create thousands of small objects of the same class, this objects are not created or destroyed in a row, so memory fragmentation could becomes a…

    JoshyFun, Florian Klaempfl, Jonas Maebe
    8
  6. fpimage glow effect

    How can I create a glow effect around text with fpimage? Mattias

    Mattias Gärtner, Eduardo Morras, Graeme Geldenhuys
    5
  7. A cross platform keydown and up

    Is there a way to listen all keys of the keyboard, a la LCL's KeyDown and Up events, on a cross platform way and without the help of a framework (eg LCL)? Afaics…

    Joao Morais
    0
  8. helpsystem, some numbers

    This morning I did a bit research after the help files, I hope it sheds some light on the WHY for the recent CHM efforts: html html help package size on…

    Marco van de Voort, Eduardo Morras, Graeme Geldenhuys
    22
  9. Post of release builder or tester

    About this Because of a lack of release builders and testers, 2.2.2 is only available for a limited number of platforms and not in all package formats. If you want to…

    Kaushalya Damitha Weerakoon
    0
  10. Typed constant

    code snippet from my app: type TLaikoJuosta=record Valanda, Minute: SmallInt; end; const MAX_LAIKO_JUOSTA: TLaikoJuosta=(Valanda: 99; Minute: 59); I want create another…

    Valdas Jankūnas, Jonas Maebe
    2
  11. Problem with list?

    I usually see messages every day or close to it. Have gone a few days without seeing any... And I think this is the second time it is happening. I am just trying to…

    Francisco Reyes
    0
  12. Delphi / FPC and UTF8 BOM

    Hi, i have some units shared between 2 Project First in Delphi 2007 and the second in Lazarus for Wince for unicode support on WinCE i converted my my files to UTF8, but…

    Zaher Dirkey, Felipe Monteiro de Carvalho, Jonas Maebe
    19
  13. fpc without short boolean evaluation

    it is possible, to switch off the short boolean evaluation? Normally follow code is possible: ... i:=0; if (i>=0) or (10/i > 1) then {do something}; ... For my academic…

    Unknown author, Jonas Maebe
    1
  14. Record Method and Operators

    Im wondering if FPC Team have plans to support Record Methods/Operators in future versions of FPC I read the actual "Future plans" and the most closed item is "RTL:: More

    Cesar Romero, Florian Klaempfl
    6
  15. fpc assember does not generate short jumps.

    I have an assembler procedure of about a 1500 lines of code. The problem is the jumps are generated with absolute addresses only, even if I explicitly specify "short"…

    Саша Иваненко, Jonas Maebe
    1
  16. using static linking of dylib in mac 10.5

    I'm not able to do a static link of a dylib (with the latest lazarus + fpc build). I'm using the following code: function MyDyLibFunction: int; cdecl; external…

    Guru Kathiresan, Jonas Maebe
    3
  17. FPC_HAS_FEATURE_SUPPORT

    Can someone explain the new FPC source layout? I find out so far: In rtl/inc/systemh.inc there is {$ifndef FPC_HAS_FEATURE_SUPPORT} ... {$define FPC_HAS_FEATURE_CLASSES}…

    Mattias Gaertner, Vasil
    1
  18. Spreadsheet library/unit?

    Searched, but could not find, a library/unit for creating spreadsheets. XLS, open doc.. or anything that would allow to create spreadsheet tabs to later on open with…

    Francisco Reyes, Antal, Felipe Monteiro de Carvalho
    52
  19. 2.2.2 INSTALL PROBLEM

    I JUST GOT 2.2.2 TO REPLACE MY 2.2.0 VERSION. When I compile a file that worked fine before it aborts immediately WITH A MESSAGE: "UNABLE TO OPEN: …

    John Youngquist, Jonas Maebe, Ludecan
    7
  20. PostMessage() from a thread (in a thread save manner)

    Some developers prefer to pass in a GUI component to a thread instance, so the thread knows what widget to update. Other users prefer to post a "gui update" message to…

    Graeme Geldenhuys, dmitry boyarintsev, Lukas Gradl
    4
  21. threading on posix platform

    Are there any specific things that need to be concerned regarding threading on posix platform (linux, mac, etc)? Especially their differences with windows platform. I'm…

    Bee, Graeme Geldenhuys, Vinzent Höfler
    3
  22. fpSelect() with very small timeout?

    Below is some code I use in fpGUI-X11's main event loop. When I played around with multithreading, I wrote a simple application, created 4 threads that each update there…

    Graeme Geldenhuys, Martin Schreiber
    3
  23. Still testing, please ignore

    Florian Klaempfl
    1
  24. Test, please ignore

    Florian Klaempfl
    0
  25. simpleipc

    I've been having a play with simpleipc.pp for trying to do cross-platform single instance detection. Ordinarily it behaves perfectly, but I just noticed on Linux that it…

    Brad Campbell, Luca Olivetti, Luiz Americo Pereira Camara
    5
  26. Bug in rtl/baseunix on OSX - Abort with illegal instruction

    fpmkfifo aborts with an illegal instruction on OSX. macppc:~ user$ fpc testfifo.pas Free Pascal Compiler version 2.2.3 [2008/06/14] for powerpc Copyright (c) 1993-2008…

    Brad Campbell, Jonas Maebe
    2
  27. MSEide+MSEgui rev. 2.0beta1

    A first beta of MSEide+MSEgui version 2.0 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 Questions and bug reports please to NNTP:…

    Martin Schreiber
    0
  28. Lazarus 0.9.26 released

    The Lazarus team is glad to announce the 0.9.26 release. This release is based on fpc 2.2.2. This release can be downloaded from the sourceforge download page:…

    Mattias Gaertner, Frank de Groot / Rent-a-Geek
    1
  29. Cross compiling on Windows

    When moving from the 205 compiler to the 222 compiler I have got a strange problem with the cross compiler for Windows ----------- (Free Pascal Compiler version 2.2.2…

    Carsten Bager, Jonas Maebe, Marco van de Voort
    6
  30. OT: Buy a Mac to develop for MacOS? Which one?

    Hi! Having a customer request to port an app to MacOS I have to think about some test platform. As I was never interested in MacOS this is virgin territory to me. So…

    Lukas Gradl, Brad Campbell, Ingemar Ragnemalm
    7
  31. Which Mac?

    Your least expensive option would probably b a mac mini if like someone else said, you already have a monitor, usb keyboard and mouse, external hard drives etc. If…

    Richard Ward
    0
  32. Tiff Reader/Writer

    Is there already a Tiff reader/writer for fpImage? Mattias

    Mattias Gaertner, Michael Van Canneyt
    1
  33. Extended property can't have default value?

    Why is the following not allowed in a class declaration? property Increment: extended read FIncrement write SetIncrement default 1.0; yet this is... property Increment:…

    Graeme Geldenhuys, Joao Morais, Jonas Maebe
    8
  34. Need help with - howto find struct field

    Hi, I try to convert string to structure field. As example: function getRepF(argo,argn: string): boolean; begin ... dataA.'argn':=argo; ... end; argn is a string with…

    Jan Kowalski, Marco van de Voort
    1
  35. stdout refuses to be redirected

    Hi! The following small piece of code, with filename 'test.pas': PROGRAM Test; USES CRT,DOS; VAR DirInfo: SEARCHREC; BEGIN FINDFIRST('*.pas',ARCHIVE,DirInfo);…

    Arjan van Dijk, Frank Peelo, Tomas Hajny
    7
  36. Smartlinking while cross compiling

    I'm cross compiling from i386-linux to i386-darwin/powerpc-darwin/i386-win32. I can't seem to create smartlinkable libraries for anything other than i386-linux and so…

    Brad Campbell, Jonas Maebe
    3
  37. Chinese/Japanese codepages to UTF8

    The unit LConvEncoding has some functions to convert between codepages and UTF8, like CP1252ToUTF8 and UTF8ToCP1252, but codepages for Chinese or Japanese isn't…

    EarMaster - Bent Olsen, ik, Marco van de Voort
    2
  38. linklib c using mingw, cygwin, both, or ...

    I'm trying to follow the tutorial, How to use C code in FreePascal projects, ftp://ftp.freepascal.org/pub/fpc/docs-pdf/CinFreePascal.pdf In order to get gcc running on…

    Unknown author, Wolfram Kläger
    1
  39. Default compiler options for shootout using fpc 2.2.0

    What should be the default compiler options for the shootout benchmarks? The used compiler is fpc 2.2.0. The benchmarks are run on a Intel Q6600 quad-core, either with…

    Vincent Snijders, Florian Klaempfl, Jonas Maebe
    6
  40. Re: command-line+Carbon template

    Marco -- If by "the two tests" you mean testing the FPC version vs. testing the CodeWarrior version, then: yes, I'm pretty sure, since I'm running them both on the same…

    Unknown author, Jonas Maebe
    2
  41. Re: command-line+Carbon template

    Hi, Danie -- I'm not sure if you saw my most recent post, where I described what I was actually doing, in response to Jonas's concern that the LISP code might be trying…

    Unknown author, Jonas Maebe, Marco van de Voort
    2
  42. Re: command-line+Carbon template

    On Ma, 2008-09-29 at 11:32 +0200, : A bit late, but let's give it a try. : : : Here I would only like to suggest trying to use the same file handle with a new file…

    Danie
    0
  43. OT Interview with Almindor (Ales Katona)

    I've made an interview with Almindor (Ales Katona), and you can read it at the following address: http://idkn.wordpress.com/2008/10/03/interview-with-ales-katona/ Ido…

    ik
    0
  44. How to auto create the $fpctarget directory

    How can I auto create the $fpctarget directory? Just specifying ../lib/$fpctarget/ and then compiling the project doesn't create the needed directory, and I get the…

    Graeme Geldenhuys, Henry Vermaak, Mattias Gärtner
    4