Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2016-09

  1. Smart link in FreeBSD multi-arch ?

    Hello. I will try to explain the problem... In a multi-arch system (64 bit system that can run 32 bit apps too) FreeBSD 64, there is problem if a fpc 32 bit application…

    fredvs, Graeme Geldenhuys, Marco van de Voort
    30
  2. corba interfaces - is/as not working properly

    I'm testing out CORBA interfaces before changing all my code to use them (I would prefer not to have managed types for interfaces). However I am running into a glitch.…

    David Emerson, Graeme Geldenhuys, Lars
    21
  3. Socket error when shutting down fpHttpServer

    here is the code (FPC 3.0.0): var Server: TMyServer; procedure HandleSig(sig : cint); cdecl; begin writeln('SIGTERM received'); if (Assigned(Server)) then begin…

    Reimar Grabowski
    0
  4. NSTextStorage.paragraphs

    https://developer.apple.com/reference/appkit/nstextstorage/1525943-paragraphs?language=objc It seams to be a simple NSArray, or isn't it? But is a property. I guess that…

    Felipe Monteiro de Carvalho, Ryan Joseph
    1
  5. Breaking change in fcl-pdf

    A small warning: There is a small breaking change in the fcl-pdf package: the color parameter in the AddFont() call has been removed. It was ignored anyway and didn't…

    Michael Van Canneyt
    0
  6. ERESTAPI: TBuckets: unsupported array element type : <looks like empty string>

    I'm testing google cloud storage API with the following simple console program, just to list the buckets: {$mode objfpc}{$H+} uses fphttpwebclient; type TAuthHelper =…

    leledumbo, Michael Van Canneyt
    2
  7. polYdev release 1.0 with fpc as superstar.

    Hello. polYdev release 1.0 is ready to download. polYdev is a multiarch FreeBSD 10.3 operating system. Thanks to his emulators, polYdev is able to compile and run…

    fredvs, Michael Schnell
    4
  8. with no if assigned() there are bugs

    Hi all, I am wondering what your thoughts are on this idea: add the ability to do if assigned() on all objects to prevent bugs, maybe as a compiler feature. Before you…

    Lars, Graeme Geldenhuys, Jonas Maebe
    14
  9. Does FCL Image support transparency?

    I want to put watermarks on images in a command line application. This doesn't do the trick: ScaledImage:=TFPCompactImgRGBA8Bit.Create(Width, Height);…

    Reimar Grabowski, Mattias Gaertner, Michael Van Canneyt
    7
  10. Does MACRO work in this case?

    Looking an alternative to solve the problem I've talked at this topic <http://lists.freepascal.org/pipermail/fpc-pascal/2016-August/048635.html>, I've tried to solve it…

    silvioprog, David Emerson
    2
  11. Asci85

    Hello: I'm trying to use ascii85 packages to decode/encode strings. But I get this weird results: -------------- Original Plain: 123456 Correct Encoded: <~0etOA2)Y~>…

    Santiago A., José Mejuto
    3
  12. Reed-Solomon algorithm

    can somebody point me to the algorithm above written in Pascal ? As an alternative, can somebody point me to the algorithm above written in some DLL I could use from FPC…

    duilio foschi, James Richters, Ralf Quint
    6
  13. Pending fcl-pdf changes

    There are some changes in fcl-pdf that are still not merged to fixes, the new LazReport PDF exporter can only work with FPC trunk without those and it would be nice to…

    Jesus Reyes A.
    0
  14. Failed to initialize the Application object ?

    Hello. On a FreeBSD 64 system, with Linux 64 emulated, I can run fpc console Linux 64 applications. For example fpc-linux 64 run and compiles perfectly on the emulated…

    fredvs
    2
  15. pull request: Add missing CTRL keys to wincrt unit

    Somebody made a contribution via my Git mirror of the FPC repository. If somebody is interested in taking a look. The original author was notified that my Git mirror is…

    Graeme Geldenhuys, James Richters, Jonas Maebe
    5
  16. Linking to Linux on a FreeBSD system with Linux emulated ?

    Hello. In a FreeBSD 64 system with Linux emulated, fpc-linux compiles without problems but at linking there is that message: In ld documentation there is: -memulation…

    fredvs, Giuliano Colla, Graeme Geldenhuys
    37
  17. log file of the linker ?

    Hello. When linking compiled fpc objects, after few minutes, there is a message from the linker (*ld*): "There was a error while linking. Abort" Does it exist a…

    fredvs, Mark Morgan Lloyd
    8
  18. changes to include file do not trigger recompilation of unit

    a couple days ago I filed this: http://mantis.freepascal.org/view.php?id=30569 In a particular situation (common in my project), making changes to an include file does…

    David Emerson, Brian, fredvs
    4
  19. Free Pascal equivalent of Scratch?

    re: coding clubs for 9-11 year olds. Has anybody thought of, or started working on, a "ide" equivalent of Scratch for Free Pascal? My thinking is something like the…

    Graeme Geldenhuys, Mark Morgan Lloyd
    1
  20. Cross platform mobile development

    Coming from the background of a Pascal programmer (on Mac specifically) does anyone have any ideas as to what the best cross platform development environment/language is…

    Ryan Joseph, leledumbo, Mark Morgan Lloyd
    10
  21. WinCRT vs CRT

    I am working on a console application that uses the graph unit. I want my graphics window to be the one that accepts keyboard input, I found out that if I just change…

    James Richters
    0
  22. Pascal interfaces for IPP

    I have created and uploaded FreePascal interfaces for Intel® Integrated Performance Primitives version 9 here <http://adriaan.biz/intel/ipp.pas.zip>. Adriaan van Os

    Adriaan van Os
    0
  23. How to sent totally custom parameters to the linker ?

    Hello. Is it possible to sent new-other parameters to the linker ? Without the use of *-k*<some_paramter>, fpc sent this to the linker: [5.227] (9017) Using util…

    fredvs, Andrew Haines, Mark Morgan Lloyd
    5
  24. Could someone explain me which the correct triggering of the BeforeDestruction method?

    My question at title seems stupid, but the reason why I've get this doubt is just because it get different results between Free Pascal and Delphi in the following…

    silvioprog, Luiz Americo Pereira Camara, Maciej Izak
    5
  25. generic way of writing Sets or Enum values to a String

    I use the following code which works fine, and I have many methods like these for all the various Sets and Enum types I used. I would like to reduce my programming…

    Graeme Geldenhuys, Jonas Maebe, leledumbo
    3
  26. How do you build FPC?

    I'm using i386 32bit Linux for most of my development and currently using FPC 2.6.0. I'm trying to understand how to build FPC for various scenarios: Cross-compiling FPC…

    Jon Foster, Anthony Walter, Karoly Balogh (Charlie/SGR
    14
  27. THashedStringList doesn't honour CaseSensitive?

    In my application I stumbled into a problem with a search in a HashedStringList: IndexOfName doesn't return the proper index if the search string doesn't match the name…

    Giuliano Colla, Michael Van Canneyt
    2
  28. GZip - Stream decompress only in memory

    I have streams compressed using GZip. I get these streams from WebServices. So, how can I decompress these streams only in memory? I've tried to use zstream unit, that…

    Marcos Douglas, Ewald, Graeme Geldenhuys
    22
  29. Windows console

    Hello: I have a little watchdog utility for windows that runs each five minutes, like a unix cron ("Tareas programadas" in Spanish, scheduled tasks?). It opened a…

    Santiago A., José Mejuto, Marcos Douglas
    3
  30. Finding Unsed Variable, Procedures, & Functions

    Is there any way to quickly identify unused variables, procedures & functions within a large project? I'm using FPC 3.0.0 with textmode IDE

    James Richters, Michael Van Canneyt
    2
  31. TTestSuite

    In the TTestSuite class when process is finished a XML is written to stdout. If the tests may show some kind of progress information, for manually run tests, this…

    José Mejuto, Graeme Geldenhuys, Michael Van Canneyt
    5
  32. Libraries-search-path of /usr/bin/ld ?

    Hello. How to define the search path of libraries while linking ? In a FreeBSD 64 multiarch system, fpc32 compiles without problems but at linking there is that message:…

    fredvs, Graeme Geldenhuys
    5
  33. LLVM Backend Support

    What is the current status of the LLVM backend support? Best regards

    African Wild Dog, Anthony Walter, Dmitry Boyarintsev
    21