Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. Shootout: k-nucleotide implementation (was: Which programming language is fastest?)

    Ok, I have looked at the example that was the slowest: 5 times slower than gcc. k-nucleitide:…

    Bernd, Lukasz Sokol
    2
  2. Compiling Synapse... begginer questions

    A long time ago I got the Synapse. It was stored in \freepascal\lib\synapse\src\trunk and the units compiled in \units\i386-win32. Today I got the stable version, 39,…

    Marcos Douglas, Marco van de Voort
    2
  3. class abstract

    I have two questions regarding class Abstract: 1. From what version of FPC does it support ? 2. Can I inherit from a class and the new class that I declare can be set as…

    ik, Sven Barth
    3
  4. How to translate this union ?

    I'm trying to translate the following union<https://github.com/ik5/sofia-sip/blob/master/src/lib/sui.inc#L199>to Pascal, but I do not understand it, and so does h2pas.…

    ik, Ludo Brands, Sven Barth
    11
  5. nested macros in C headers

    I found this: http://pastebin.com/T4jkeE6F in a zip file called vfp.tar.bz4 somewhere on the web, it seems not maintained since ages but obviously it must have compiled…

    Bernd, Marco van de Voort, Paulo Costa
    8
  6. fpc graph

    Been trying to use the windows graph from 2.4 release svn, running on standard xp sp3 laptop, with 1024*768 resolution screen setting, 96dpi, intel mobile express 965…

    John Lee, Leonardo M. Ramé, Nikolay Nikolov
    4
  7. Generics feature status

    I see now that generics have improved a lot since latest release, we even have Delphi compatible syntax in Delphi mode. Recursive generic type is supported as well now…

    leledumbo, Anthony Walter, Paul Ishenin
    3
  8. How to get the offset of a record

    In Turbopascal it was possible with offs() type rectype = record var1 : longint; var2 : longint; var3 : boolean; end; var o : longint; recvar : rectype; o := offs(…

    Rainer Stratmann, Aleksa Todorovic, Florian Klämpfl
    10
  9. OLE & COM Support

    How is the COM support in FPC nowadays? I have a project coming up that I may use FPC for. Lee

    Lee Jenkins
    0
  10. Initialize object variables

    Is there any way to initialize object variables, other than writing an init method? So something like: myobj = object myvar: word = $ffff; end; Regards, Darius

    Darius Blaszyk, Howard Page-Clark, Jürgen Hestermann
    3
  11. run pascal programs as scripts

    I would like to execute small pascal programs like normal unix scripts. For example: #!/usr/bin/instantfpc begin writeln('shebang executed'); end. Has anyone already…

    Mattias Gaertner, Darius Blaszyk, Felipe Monteiro de Carvalho
    43
  12. Working with PUCS4Char and UCS4String

    I'm getting a pointer to wchar_t which is PUCS4Char on linux and osx. To convert an UCS4String to WideString there is UCS4StringToWideString. But how can I convert…

    Ludo Brands
    0
  13. dependency problem when installing x86_64 on centos 5.5

    Hi I'm trying to install fpc 2.4.2 using yum on centos 5.5 : yum localinstall fpc-2.4.2-1.x86_64.rpm It fires an error : Missing dependency : libtinfo.so.5()(64bit) is…

    Julien Devillers, Jonas Maebe
    1
  14. android JNI JString to String

    I have a strange problem, I pass data from the android String via JNI. pass data from FreePascal wideString successfully using the following code NewString: function…

    herux, Jonas Maebe, Ludo Brands
    5
  15. A few doubts about C to pascal header translations:

    I've come across some constructs that I'm not sure how to translate: A procedure where one of the arguments is declared as: size_t arg; also a macro where appears:…

    Paulo Costa, Marco van de Voort
    3
  16. More doubts on C to pascal header translations:

    I saw that h2pas translated: typedef void(*callback)(int pos, void* userdata); to callback = procedure (pos:cint; var userdata:pointer);cdecl; shouldn't it be? callback…

    Paulo Costa, Marco van de Voort
    2
  17. FPImage and GetDataLineStart

    Hi, I need to write a function that replaces TLazIntfImage by using fpImage, and I can't find an alternative to GetDataLineStart. How can I replace it?. Leonardo M. Ramé

    Leonardo M. Ramé, Felipe Monteiro de Carvalho, Florian Klämpfl
    62
  18. find return adress of a procedure/function

    How to find the return adress of the calling code of a procedure/function? Where in the stack is the information to the return adress? stack + - x? How to acess to the…

    Rainer Stratmann, Sven Barth
    4
  19. delphi compatibility

    Just downloaded & tried to registry.pas - for accessing win registry. It uses SysUtils, WinTypes, WinProcs, Messages, Classes,ShellAPI My standard v242 fpc win…

    John Lee, Marco van de Voort, Matt Emson
    2
  20. FileGetAttr fails on TrueCrypt partition

    g: is the XP system volume. x: is the truecrypted NTFS partition. No problem to set / get / show file attributes with Win32 GUI on both volumes. Same with attrib.exe on…

    reynolight, Jonas Maebe, Michael Van Canneyt
    5
  21. SDL example

    Hi I am on fpc/packages/sdl/examples. # ppcrossarm demo03.pas -darm -XD -CX Free Pascal Compiler version 2.5.1 [2011/03/01] for arm Copyright (c) 1993-2010 by Florian…

    Nataraj S Narayan, Michael Van Canneyt
    3
  22. Message methods

    I'm trying to understand how message methods work in FPC. For this I created a simple app that shows a message. I also created a second (identical form) and I expected…

    Unknown author, Darius Blaszyk, Jorge Aldo G. de F. Junior
    3
  23. Font reading library

    I just tought I'd ask: Do we have a Pascal library for reading font files? TTF and other formats. Obtain the information about the font and the glyphs. Felipe Monteiro…

    Felipe Monteiro de Carvalho, Darius Blaszyk, Helmut Hartl
    13
  24. GDB Case insensitive Search

    I can't figure out how to make a case insensitive search in GDB. The GDB docs only say that you can do the following but don't give much else or explain regexp.…

    Richard Ward
    0
  25. New to freepascal and how to translate my delphi program.

    I am new to free pascal, but have some experience with delphi. I wrote a program to control a milling machine (Elektor Profiler, see elektor.nl/ forum program Doit).…

    P. vanderWal, Felipe Monteiro de Carvalho, Jeppe Johansen
    5
  26. stripping HTML

    is there any existing FPC code (even external libraries with bindings) to strip HTML tags from files, including adequate removal of scripts, comments and other…

    Roland Schäfer, Felipe Monteiro de Carvalho, leledumbo
    7
  27. Assembling (pipe) /Users/{standard input}:2540:suffix or operands invalid for `cmovns'

    building LCL with OPT="-Cr" causes the problem in anchoreditor.pas (Assembling (pipe) /Users/{standard input}:3839:suffix or operands invalid for `cmovns') . Used…

    Ludo Brands
    1
  28. Self pointer existence

    Hi When does the self pointer's value become valid? I need a reference to the object being created inside the object's own create method. The last statement in Create…

    Wimpie Nortje, Mattias Gaertner
    2
  29. Re; New to freepascal and how to translate my delphi program

    Thanks for the quick response. It was just the things I was looking for. Piet

    piet
    0
  30. DIFF Pascal component

    I was wondering if anyone knows a good Pascal component for generating a diff in the standard format. Googling I found TDiff here: http://angusj.com/delphi/ Maybe there…

    Felipe Monteiro de Carvalho
    0

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999