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. Problem linking a Windows DLL

    I have a plain Windows DLL made in Visual Studio C++ and working with other C applications. When I try to statically import it into an FPC program I get the…

    Anton Shepelev, Elmar Haneke, Ludo Brands
    4
  2. DBF Field name length and fpdbfexport

    If I Googled correctly, the following field size limits are present for the various DBase formats: 3: DBase III: 10 characters 4: DBase IV: 10 characters 7: DBase VII:…

    Reinier Olislagers, Michael Van Canneyt, Unknown author
    12
  3. 2 bugs ???

    I am trying to learn freepascal generics and I think that I have found 2 bugs. Tested with FPC 2.4.4 Linux x86 ================== = BUG 1 - with SizeOf =…

    Yann Bat, Leonardo M. Ramé, Marco van de Voort
    4
  4. TField.Attributeset explanation?

    Working on the SQLDB Tutorial1 on the wiki. I'm struggling with getting dbgrid-driven inserts to work. Using Firebird employee.fdb CUSTOMER table; CUST_NO is an integer…

    Reinier Olislagers, Alex Shishkin, Unknown author
    6
  5. FPCDocs Git repository

    While there are git repositories for FPC and Lazarus, there doesn't seem to be one for FPCDocs. Is a public git repository available for FPCDocs? The reason: I'm looking…

    Reinier Olislagers, Graeme Geldenhuys
    2
  6. Improved LazUpdater - testers welcome on Windows

    I've been improving the LazUpdater FPC/Lazarus SVN downloader/installer written by Ingo Steiniger for a while now. I didn't get any reaction from the original author…

    Reinier Olislagers
    0
  7. Converting String to array of Char generates duplicate local var

    Hello. I have definitions: PluginDir: packed array [0..Pred(16384)] of AnsiChar; sName: AnsiString; When I assign AnsiString to array of Char compiler generates code…

    cobines
    0
  8. Can't get error messages or anything with F12

    I'm running 2.4.0 and can't get error messages or anything from the F12 Compiler messages key. What am I doing wrong?

    John Youngquist
    1
  9. Funambol/syncml and fpc

    Has anyone used funambol/syncml libraries or an FPC equivalent to talk the syncml protocol? I've got a Firebird address database that I would like to sync some day using…

    Reinier Olislagers
    0
  10. FP IDE - jump to implementation

    Is there a keyboard shortcut for FP IDE (text IDE included with FPC) to jump from the interface section to the implementation section of a method. Like Delphi or…

    Graeme Geldenhuys, Jonas Maebe, Marco van de Voort
    4
  11. FP IDE keyboard shortcuts don't work under Linux

    I'm using Linux (ubuntu 8.04.4) with FP IDE (text mode ide). I went through the "learn keys" dialog and it detected all the keys I pressed. Yet when I'm in a source code…

    Graeme Geldenhuys, Florian Klämpfl
    3
  12. New Dispose and FreeMem and objects

    Hi is the following allowed or will it cause problems: type PObj = ^TObj; TObj = object constructor Init; end; var Obj : PObj; begin Obj := new(PObj, Init);…

    Andrew Haines, Jonas Maebe
    3
  13. FPC i386 and x86_64 using the same source

    I want to use a single source for i386 and x86_64 in the FPC as well as Lazarus. So, I downloaded a clean and fixes_2_6 and ran make x64 without 'install' parameter. I…

    Marcos Douglas, Den Jean, Graeme Geldenhuys
    10
  14. make install

    For developers that use FPC sources from SVN, like me, I ask: 1. There are some advantage to use 'make install' to compile FPC? Which? 2. There are some advantage to…

    Marcos Douglas, Tomas Hajny
    2
  15. Strange issue with threads

    While I was testing an unrelated issue, I discovered this: under windows, with fpc 2.2.4, I try to start 10000 thread (I know it's absurd but it's just a test) and have…

    Luca Olivetti, Jonas Maebe, rzbhatti
    7
  16. Division by Zero

    WriteLn(FloatToStr(100 / 0)); This code prints on the screen "+Inf", but I think it should be "NaN". Is this a bug or a special case in computer arithmetic? thx Michael

    Michael Fuchs, Andreas Schneider
    2
  17. Is such memory statistics possible?

    reading the recent discussion about lazarus memory consumption, I thought about collecting some statistics. The idea is similar to some disk utilities that collects and…

    Max Vlasov, Jonas Maebe, Ludo Brands
    23
  18. Suggestions on array allocation pattern/rules of thumb?

    In Lazarus I found (pseudo)some code like this: procedure DoSomething(...) var v_Results: PInteger; v_ResultCount: Integer; begin v_Result := nil; PrepareData(...,…

    Flávio Etrusco
    0
  19. TTimeStamp and TBCD properties of a class cannot published?

    I am developing a new app using a persistence framework initially developed for Delphi. The following code doesn't compile: published property AsTimeStamp: TTimeStamp…

    Gerard Visent
    0
  20. fpmake exception

    Hello While building fpc on my arm netbook, I found this crash in fpmake: EAccessViolation : Access violation $00027448 FIXPATH, line 1737 of src/fpmkunit.pp $00039E24…

    Henry Vermaak, Vincent Snijders
    3
  21. Virtual inline methods

    ZeelandNet Webmail I'm porting a piece of code from C++ and there they use virtual inline methods. I tried it in FPC but it accepts either virtual OR inline methods. Is…

    Unknown author, Darius Blaszyk, Jonas Maebe
    4
  22. random numbers negative

    I have a doubt. With the random function, Can you generate random numbers negative? Begin randomize; Writeln (random (-127)) / / 0> = n> -127 End. thanks.

    Luis Fernando Del Aguila Mejía, Felipe Monteiro de Carvalho, Lukasz Sokol
    5
  23. Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

    Update: includes first stab at Delphi Clientdataset. Please test with various datatypes as I haven't been able to map all of them... Hi list (& Michael Van Canneyt ;),…

    Reinier Olislagers, Felipe Monteiro de Carvalho, Ludo Brands
    38
  24. Non-standard baud rates in OS X | IOSSIOSPEED IOCTL

    Apple have define an IOCTL (since Tiger) called IOSSIOSPEED which facilitates non-standard baud rates. They publish a C example which explains it:…

    Bruce Tulloch
    1
  25. Assigning value to ftVariant datatype & varbytes - still stuck

    Free Pascal Compiler version 2.5.1 [2011/08/04] for i386 While improving my fcl-db XML export code, I'm testing with ftVariant types in a bufdataset: FieldDef :=…

    Reinier Olislagers, Ludo Brands, Marco van de Voort
    31
  26. ftGuid displaytext & output

    While trying to export dataset data to XML, I use this for ftGUID fields: FNode := Foutputdoc.CreateTextNode(Utf8decode(GUIDToString(TGuid(EF.Field.Value)))); This works…

    Reinier Olislagers, Ludo Brands
    2
  27. Using "array of xxx" in function call, Delphi compatibility

    Hi While reading a bug report I made the following experiment with Delphi 2009 and then with Lazarus + FPC 2.4.4. TMainMenu.Items is of type TMenuItem. TMenuItem has…

    Juha Manninen, Jonas Maebe, Ludo Brands
    7
  28. Explicit encoding of LF in XML

    Looking at multiline support of text/string cells for export to Excel XML format. My code, such as: TDOMElement(FieldNode).SetAttribute('ss:Type', 'String'); FNode :=…

    Reinier Olislagers, Ludo Brands
    3
  29. XMLXSDExport: line ending in Excel cells

    I've been refactoring the XMLXSDExport code and am now busy fixing some bugs based on testing. I'd appreciate your input. In Excel text fields, you can generate a line…

    Reinier Olislagers, Unknown author
    2
  30. Should Lazarus and FPC release library updates separately from product updates?

    Whenever updates are made it is difficult to tell whether they are due to updates or fixes in the libraries, ie FCL, LCL etc or the product ie the Lazarus IDE and the…

    Frank Church, Jonas Maebe
    1

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