Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2016-07

  1. Parallel Port Access with Free Pascal - windows

    I am trying to get access to the parallel port with Free Pascal. I'm trying to use this version of inpout32 (x64) http://www.highrez.co.uk/downloads/inpout32/ Here's my…

    Zaaphod, Bo Berglund, James Richters
    29
  2. logging fcl-db (sql) actions

    I've done a little program with fcl-db's sqlite connection. I sometimes have the feeling I miss edits. Does fcl-db have something to log all sql actions (like sql logger…

    Marco van de Voort, Michael Van Canneyt
    1
  3. Lazarus cannot debug after Raspbian upgrade

    I just upgraded my Raspberry Pi3 from the March to the May version of Raspbian using the dist-upgrade command and then rebooted. Now Lazarus has problems with running…

    Bo Berglund
    1
  4. The end of Gmane

    Sorry if this has been mentioned earlier here already, or if it is considered off-topic (and if so, will not do it again). But I think it is relevant and of interest to…

    Vasudev Ram, Bo Berglund, Jonas Maebe
    2
  5. Weird string behavior

    Hello: I'm working on windows XP, FPC 3.0.0 from stable Lazarus 1.6. I've come across this issue: When I concatenate two strings in UTF8 they are converted to ansi…

    Santiago A., Bart, Graeme Geldenhuys
    36
  6. Re: GPIO for pi

    Op 27-07-16 om 15:52 schreef Bo Berglund: I have following files on the pi : /usr/lib/libpigpio.so /usr/lib/libpigpiod_if2.so Do you have these ? I'm running the latest…

    Koenraad Lelong, Bo Berglund
    5
  7. Test for valid ip address

    I need a way to test if an string containing an ipv4-address is really an ipv4-address. I tried tmpAddress:=HostAddrToStr(StrToHostAddr(IPAddressStr));…

    Koenraad Lelong, Christo, Jonas Maebe
    6
  8. Could Not Set Breakpoint - Why not?

    I can't seem to set any breakpoints at all with FreePascal 3.0.0 with the text IDE. Does anyone have any idea why this could be? I have even tried to set a breakpoint…

    James Richters
    0
  9. Microsecond Delay Suggestions?

    Any Suggestions for a microsecond delay? I had a scheme in my old dos program where I would run a massive loop at the beginning of my program and time it with DOS 55mS…

    James Richters, Dmitry Boyarintsev, Luca Olivetti
    14
  10. x64 compiler and Large Address Aware flag

    We are using FPC (2.6.0) here to allow compiling our users ideas into runable code and while this has worked just fine until now, on one occasion we have reached a…

    OBones, Jonas Maebe
    1
  11. EBusError

    An unhandled exception occured at $08113310 : EBusError : Bus error or misaligned data access $08113310 $08052EF3 $08078A3E $080540B0 $08054D96 $080551D1 $08055915 Is it…

    Rainer Stratmann
    0
  12. Textmode IDE splitscreen?

    Is there a way to get the textmode IDE to do splitscreen the way Turbo Pascal used to if you had both a color and monochrome monitor? It was very handy to trace through…

    James Richters, Nikolay Nikolov, Pierre Free Pascal
    9
  13. old school crc32

    this is driving me battier than i already am :( i have a binary file that contains a record of data... the first field of the data is a crc32 value of a string of…

    Unknown author, geneb, Giuliano Colla
    11
  14. Linux Port help

    I'm a newbie trying to port an old turbo pascal program to FreePascal in linux. My reasons for doing this is old Pentium 233 motherboards are getting harder to keep…

    James Richters, Graeme Geldenhuys, Marco van de Voort
    9
  15. Vehicle Routing Problem with Time Windows

    does anyone knows any object pascal or c ( not c++, java, lisp ... ) library that can solve the Vehicle Routing Problem with Time Windows, open source or not ? Searched…

    Dimitrios Chr. Ioannidis, Amir
    1
  16. FPC allows modifying loop variable

    I just discovered a surprising bug in my application. I had a variable "b" defined which I used in a FOR loop. FPC forbids you to modify that loop variable inside the…

    Graeme Geldenhuys, Jonas Maebe
    3
  17. Initialization of packed record local variables?

    I am getting compile hints "Local variable "<variable name>" does not seem to be initialized" for a number of variables of packed record type. Does not the FPC compiler…

    Bo Berglund, leledumbo, Mark Morgan Lloyd
    12
  18. CGI, Handle Exceptions

    Is possible to get all exceptions in one place, in a CGI/FastCGI programs? I need to know the Request instance too, to treat the exception properly. Marcos Douglas

    Marcos Douglas, leledumbo, Michael Van Canneyt
    4
  19. Improvement to TFPHTTPClient Class

    The current version of the TFPHTTPClient (the one shipped with fpc 3.0) is coupled to the fpc's sockets framework (fcl-net) so we can't utilize other tcp connection…

    African Wild Dog, Michael Van Canneyt
    4
  20. Hello,I suggest that you change the TFPGMap in fgl.

    if TFPGMap::Sorted is True, then Add method time complexity is O(n) and Indexof,Find method is O(lg n). or Sorted is False, then Add method is O(1) and Indexof,Find is…

    김봄, Felipe Monteiro de Carvalho, leledumbo
    2
  21. unable to compile 3.0.0 both Linux x86_64 and arm-linux

    I'm trying to upgrade from fpc 2.6.4 to 3.0.0 but make all fails both in Linux x86_64 platfoms and in arm-linux (Raspbian) plaform. I've downloaded a precompiled 3.0.0…

    Giuliano Colla, Jonas Maebe
    7
  22. Is there a way to interact with this list via the Web?

    Sorry, forgot to put the subject line earlier, so re-sending.

    Vasudev Ram, leledumbo
    3
  23. Porting code from Windows D2007, missing Windows functions

    I am porting a Delphi2007 utility from Windows to Linux (Raspbian Jessie). It uses a unit I have downloaded from the web, which was said to support FreePascal too. But…

    Bo Berglund, Graeme Geldenhuys, Michael Van Canneyt
    13
  24. Resource strings, passwords etc.

    Please excuse one of my regular silly questions. Elsewhere, a (former) Delphi programmer is uneasy having found that his binaries have had embedded SQL queries,…

    Mark Morgan Lloyd, Dennis Poon, Graeme Geldenhuys
    17
  25. (no subject)

    Is there a way to interact with this list via the Web? By interact, I mean, both read and post messages. I have seen the main page for the list, where one can subscribe,…

    Vasudev Ram
    0
  26. can the compiler zero any out parameter of procedure/function automatically?

    I just found the cause of a strange bug is because I forgot to zero the out parameter of a procedure like. procedure FindEvent (out TheEvent : TNotifyEvent); begin…

    Dennis, Dennis Poon, Jonas Maebe
    3
  27. OData and Office365 REST API support

    Long overdue, I have finally committed the initial version of the odata package in the FPC repository. This package provides the base for OData integration in your…

    Michael Van Canneyt, Dmitry Boyarintsev, Graeme Geldenhuys
    16
  28. Surprise. Comparison of method is only done on the routine address

    I always thought comparison of methods is done on both the data and the code part. TMethod = record Code : CodePointer; Data : Pointer; end; But the following proves it…

    Dennis, Dennis Poon, Michael Van Canneyt
    3
  29. Why is WinCE target missing the Windows IsCharAlpha() API

    Why is FPC WinCE target missing the Windows IsCharAlpha() API definition, including some others (I'll try and make a more complete list soon). MSDN: IsCharAlpha (Windows…

    Graeme Geldenhuys, Sven Barth
    1
  30. Have Free Pascal 3.0.0, installing Lazarus 1.6, associate .pas files with Lazarus or not?

    [ This is my first post to this list, and I am new to Free Pascal and Lazarus, though I worked for some years, long ago, with Turbo Pascal and later, a little with…

    Vasudev Ram
    1
  31. Verify Method Calls

    I would like to use "Verify Method Calls" (-CR), but when I choose it in the Lazarus project options under debugging, I get compiler errors such as: Incompatible type…

    Unknown author, Jonas Maebe
    3
  32. FPC sources in FreeBSD

    Hello I installed FreeBSD 10.3 under VirtualBox. This is the first time I use FreeBSD. Cool! I managed to install X, XFCE and all applications I need. FPC and Lazarus…

    Juha Manninen, fredvs, Graeme Geldenhuys
    9
  33. what is the correct way to write {$IFDEF FPC Version > 3.0}

    what is the correct way to write {$IFDEF FPC Version > 3.0} Dennis

    Dennis, Bart, Dennis Poon
    5
  34. Using paszlib from fpc 3.0 with fpc and delphi 2007?

    I have a project that is targeting both Linux (on Raspberry Pi) and Windows. It started in Delphi 2007 and is a command line utility. It needs to use some zip…

    Bo Berglund, Graeme Geldenhuys, Marco van de Voort
    10
  35. Is there a reactive framework for Free Pascal?

    Is there something like Rx.net for Free Pascal? Dennis

    Dennis, Dennis Poon, Graeme Geldenhuys
    5
  36. Google AdMob for iOS

    I did a little search and didn't find any headers of iOS AdMob for FPC. It's Objective-C interface. Thus, I converted them myself:…

    Dmitry Boyarintsev
    0
  37. Run-time checks

    I have a few questions about run-time checks. Is it possible to check class typecasts such as TMyIniFile(AnIniFile) ? Or only "AnIniFile as TMyIniFile"? If only the…

    Tobias Giesen, Jonas Maebe
    1
  38. 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
  39. .RSJ files vs .RST files

    Are .RSJ files replacements for .RST files, or am I not understanding the point or .RSJ files? I believe .RSJ files appeared in FPC 2.6.4. Is the FPC team going to…

    Graeme Geldenhuys, Jonas Maebe, Martin Schreiber
    4
  40. How to send operating system commands (Linux on RPi)?

    I need to include the ability to switch on and off the WiFi network connection of a Raspberry Pi3 running Raspbian Jessie into my FreePascal program. The commands I am…

    Bo Berglund, Sandro Cumerlato, Sven Barth
    4
  41. What is the difference between TThread.Queue(aMethod: TThreadMethod) and Application.QueueAsyncCall(AMethod: TDataEvent; Data: PtrInt);

    Apart from the TThreadMethod and TDataEvent, what are the major differences? Are both of them thread safe to call from non-main thread? Will both of them overwrite some…

    Dennis, Henry Vermaak, Mattias Gaertner
    3
  42. 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