Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2016-06

  1. Digital Certificate, CAPICOM

    Do you use Digital Certificate? If yes, which library/component? I'm using ACBr project http://svn.code.sf.net/p/acbr/code/trunk2/ It has CAPICOM supports (only…

    Marcos Douglas, Dariusz Mazur
    2
  2. What is a *.fpm file in FPC Trunk?

    While browsing the "packages" directory I came across *.fpm files. What are they for, and what process creates them? For example: ------------[…

    Graeme Geldenhuys, Marco van de Voort, Robert Wolfe
    2
  3. Access C++ APIs

    I want to play a little with a fresh Qt 5.x. Lazarus access Qt through Qt4Pas. I see "Linking with C++ code" in future plans for FPC. Is there another way? For example I…

    Gabor Boros, Dimitrios Chr. Ioannidis, Graeme Geldenhuys
    4
  4. UNICODE define

    can I rely on http://wiki.freepascal.org/User_Changes_3.0#UNICODE_define_depends_on_default_string_type_instead_of_on_target_platform that UNICODE is defined just when…

    LacaK, Bart, Graeme Geldenhuys
    10
  5. Mouse, scroll wheel support?

    Is there a non Lazarus means of accessing the mouse, and scroll wheel? I have an app that uses some old driver which doesn't address the wheel. I'm trying to make the…

    John Youngquist, Michalis Kamburelis, Tomas Hajny
    2
  6. reference-counted function results not initialized to nil

    After upgrading fpc 2.6.4 -> 3.0.0, I'm seeing a bug where (as noted in subject) reference-counted function results are not being initialized to nil. Is this a known bug?

    David Emerson, C Western, Dimitrios Chr. Ioannidis
    18
  7. which "managed" result types require extra work?

    Okay, making a new thread here, to ask one question: Which types do we need to initialize to null/nil/zero/'' when they are a function result? - dynamic arrays -…

    David Emerson, Dimitrios Chr. Ioannidis, Jonas Maebe
    6
  8. FreePascal and Lazarus Foundation

    Hi all, This morning I was glad to found this website: http://foundation.freepascal.org It's about time to have a foundation for our beloved projects. I hope by having…

    Mr Bee, Marc Hanisch, Michael Ring
    9
  9. Single threaded application on multicore CPU

    may be that this question is bit off-topic here, but I am sure, that here are experts, which know answer ;-) I have simple Lazarus/FPC application (with no explicit…

    LacaK, Graeme Geldenhuys, José Mejuto
    11
  10. Quick Modern Object Pascal Introduction, for Programmers

    So, I wrote a document describing (quickly!) many features of the modern Object Pascal:) Read on:…

    Michalis Kamburelis, Dennis Poon, Graeme Geldenhuys
    31
  11. building current trunk

    i posted this to the developers' list but have not had any response to it or another one i posted yesterday... so i'm going to post this one here in the hopes that…

    Unknown author
    0
  12. why (ClassType as TMyClass).Create fails

    Following up to the cloning example code: Type TMyClassRef = class of TMyClass; implementation function TMyClass.Clone(AOwner: TComponent): TMyClass; begin Result :=…

    Dennis, Michael Van Canneyt, Michalis Kamburelis
    2
  13. (Unix) file locking

    I'm approaching a situation where up to four identical processes will be reading and writing the same files. There will be process-level synchronisation which should…

    Mark Morgan Lloyd, Björn Lundin, Fabio Luis Girardi
    6
  14. default parameter single = NaN

    After installing fpc 3.0.0, I'm getting an... Error: function header doesn't match the previous declaration for a (non-method) function that does exactly match its…

    David Emerson, Jonas Maebe, Martin
    5
  15. What is the difference between case else and case otherwise

    There is no details on http://www.freepascal.org/docs-html/ref/refsu57.html Thanks in advance. Dennis

    Dennis, Anthony Walter, Sven Barth
    2
  16. Need help with a backtrace from fpc 2.6.4

    i have an app, that is pc's with os's varying from xp to win 10 ( all windows ). All ( almost ) the pc's are controlled by the company I work for and their installation…

    Dimitrios Chr. Ioannidis, José Mejuto
    1
  17. How to find the return type of a for..in ?

    I've never really used the for..in in real code, because I think the iterator is very limited. I've implemented much more flexible iterators for most container types.…

    Graeme Geldenhuys, Luca Olivetti, Mattias Gaertner
    7
  18. Finding the path of a TJSONObject?

    Is there a method (just so you know GetPath() wasn't it) that returns the "path" or hierarchy of a TJSONObject instance? eg: I can do: obj :=…

    Graeme Geldenhuys, Michael Van Canneyt
    3
  19. What is the best memory optimization parameter

    What is the extreme memory optimization parameter to compile fpc for the embedded system? And could someone tell me what is the minimum memory specification for…

    czd, Jeppe Johansen
    2
  20. mips linux cross compiled application error

    I have compiled a simple mips/linux application with using raspberry pi, when I execute the app. it replies with this error. Device is onion omega. Illegal instruction.…

    czd, Mark Morgan Lloyd, Sven Barth
    7
  21. how to expand a set?

    what is the best/easiest way to increase the size of a set if the set is defined as the following? const CMaxCount = 255; type TMsgAreas = set of 0..CMaxCount; var…

    Unknown author, Marco van de Voort, Santiago A.
    6
  22. Conditional code for FPC modes

    Are there defines matching the modes in FPC, for example {$mode delphiunicode} ? I want to do something like : {$IFDEF delphiunicode} ... {$ELSE} ... {$ENDIF} Juha

    Juha Manninen, Jonas Maebe, Mattias Gaertner
    5
  23. FPC 3.0 using clang for cross compile

    Hi List. I just recently tried to update the build system for our products in order to use fpc 3.0, but found that when i try to make the cross-compiler for Mac OS, it…

    Torsten Bonde Christiansen, Jonas Maebe
    2
  24. firebird UDF

    can somebody point me to some source code ready to be compiled for Ubuntu ? Thank you Peppe Polpo

    duilio foschi, Dimitrios Chr. Ioannidis
    1
  25. Type helper for array

      I've got following declaration: ... {$modeswitch typehelpers}   interface   uses   Classes, SysUtils;   type   TBuffer = array of Single;     { TBufferHelper }…

    Vojtěch Čihák, Jürgen Hestermann, Sven Barth
    4
  26. Incompatible types: got "SYSTEM.PChar" expected "SYSTEM.PChar"

    I have a lot of constant strings and some array of records that should be initialized in one field with one of this entries, so I found two solutions, one is create a…

    José Mejuto, Sven Barth
    3
  27. Writing fpWeb app without Lazarus

    I'm now learning how to use fpWeb. But for some reasons, I don't want to use Lazarus. Instead, I want to write the program using plain text editor or console text editor…

    Mr Bee, Graeme Geldenhuys, leledumbo
    6
  28. Java equivalent of Pascal's class reference functionality

    I know this is not a Java forum, but thought maybe somebody here with Object Pascal and Java knowledge could help (seeing that Java-only developers might not know what…

    Graeme Geldenhuys, Jonas Maebe, Maciej Izak
    5
  29. Reasoning behind the inability to override a property

    Just my curiosity about this particular "feature", why is property overriding not allowed (redeclaring with different visibility is however allowed)? e.g. consider the…

    leledumbo
    0
  30. Delphi-FPC portable code for endian conversion

    I have a class file implementing interfaces for talking to an embedded system and I intend to use this class for both Delphi (on Windows) and FPC (on ARM Linux) One part…

    Bo Berglund, Sven Barth
    3
  31. Questions regarding FPImage's TFPMemoryImage.FData variable

    The internal FData field variable of TFPMemoryImage is of type FPFItegerArray and is defined as follows: TFPIntegerArray = array [0..(maxint-1) div sizeof(integer)-1] of…

    Graeme Geldenhuys, Mattias Gaertner, Michael Van Canneyt
    8