Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2017-05

  1. Implementing AggPas with PtcGraph

    What is the best method for getting the memory image to a ptcgraph window? I have been trying to figure how to use something like putimage to do this but I'm not sure…

    James Richters, DaWorm, Graeme Geldenhuys
    102
  2. Re: ptccrt missing keys

    I could really use F11 and F12 including shift, alt, and crtl if possible from the prccrt graphics window. I suspect there is some fundamental reason why F11 and F12…

    James Richters, Nikolay Nikolov, Unknown author
    9
  3. Error building FPC 3.0.2 from svn sources on RPi3

    I have bought and initialized a new RPi3 today. It runs Raspbian Jessie PIXEL latest version. To install FPC I use a script file which sets up the Pi for FPC development…

    Bo Berglund, Giuliano Colla, leledumbo
    8
  4. Mantis/Bugtracker registrations fixed

    We had numerous reports over the past few weeks, that the FPC/Lazarus Bugtracker registration verification was broken. Thanks to the work of Michael van Canneyt, it…

    Karoly Balogh (Charlie/SGR, Martin
    1
  5. named parameter

    As Pascal mostly well known as a safe, easy to read, and elegant language, don't you think Pascal needs named parameter? I mean for ALL kind of parameters, not just for…

    Mr Bee, Bernd Oppolzer, Ewald
    24
  6. GLM library alternative?

    I’m trying to following some OpenGL tutorials to learn the matrix transforms but I’m getting stuck because I don’t have the c++ GLM library which everyone is…

    Ryan Joseph, Anthony Walter, Benjamin Rosseaux
    34
  7. fpc code for Java class and Android.

    Hello. Here a easy way to translate all your fpc applications into Java applications (class). The trick is to convert your fpc applications into native java libraries.…

    fredvs, Graeme Geldenhuys, Jon Foster
    28
  8. Why casting interface as Tobject will result in a different reference?

    I defined a generic TList<IMyInterface> //CORBA style interface var aInt : IMyInterface; aObj : TObject; begin aInt := MyList.Items[0]; aObj := aInt as TObject;…

    Dennis, Dennis Poon, Graeme Geldenhuys
    6
  9. Error cross compiling trunk for AVR

    A recent change in 3.1.1 seemed to have broken the AVR compiler, while the compiler compiles fine for X86_64-linux. I think the problem started from r36325: make clean…

    Christo, Schindler Karl-Michael
    2
  10. FPC Graphics options?

    I have a few console graphics applications that I originally wrote in Turbo Pascal that I have been able to convert over to Free Pascal and now have windows versions of…

    James Richters, Adriaan van Os, Bart
    202
  11. Browser and exe

    If you have some apps or components which was written in Object Pascal and you would like to use them in Web applications (client-side, previously installed) what is the…

    Marcos Douglas B. Santos, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    23
  12. download mirror is missing

    https://www.freepascal.org/down/x86_64/linux-netherlands.var 550 /pub/fpc/dist/3.0.2/x86_64-linux Mattias

    Mattias Gaertner, Graeme Geldenhuys, Marco van de Voort
    15
  13. OpenGL and SDL frustrations

    I’ve wasted so much time on this I just need to stop and ask for help already. Over the last few years I’ve been picking away at OpenGL and only ever got the legacy…

    Ryan Joseph, Anthony Walter, Graeme Geldenhuys
    10
  14. Network compression

    I need to transfer data which are relative big ( 1,2 GB )using low memory ( 512MB, 1GB RAM ) machines. I was thinking something like load partial the file I ie.e a 64K…

    Dimitrios Chr. Ioannidis, Adriaan van Os, Graeme Geldenhuys
    2
  15. Best way to check SimpleIPC for messages

    Is the best general way to check IPC messages in SimpleIPC to spawn a thread? and check I noticed in fpgui sample apps that use simpleipc, graemeg checks the messages in…

    Unknown author, Mattias Gaertner, Michael Schnell
    11
  16. ptcgraph issues

    I'm having a few issues with ptcgraph. The main issue is that it's not correctly reporting the actual size of the available area to use inside the ptcgraph window. It's…

    James Richters, Nikolay Nikolov
    3
  17. $OPTIMIZATION DEADSTORE

    I use FPC 3.0.0 on WinXP, Mageia5 and the latest Raspbian, thanks to the incredible versatility of this fabulous compiler - and the very appreciated work of you all ! I…

    Il Grande Beppe, Jonas Maebe
    1
  18. Ignoring function results

    According to the Programmer's Guide 1.3.41, {$EXTENDEDSYNTAX OFF} has the effect of permitting the result of a function to be ignored. However it also appears to (at…

    Mark Morgan Lloyd, Bart
    2
  19. FPC 64bit for windows

    I am wondering if it's possible to compile my windows console app specifically for 64bit machines running windows? I am currently compiling it as a win32 console…

    James Richters, Graeme Geldenhuys, Lukasz Sokol
    22
  20. List pre-defined defines

    I've looked several times over the years for a way to get fpc to dump all of the predefined "defines" for the target selected. Things like "fpc", "linux", "unix",…

    Jon Foster, Ewald, Graeme Geldenhuys
    12
  21. Size of program vs library ?

    Hello. Here size of "nude" program and library compiled with fpc 2.7.1. Why is it a so big size-difference ? Compiled with => fpc 2.7.1 => linux 64 Compiler parameters :…

    Fred van Stappen, fredvs, Henry Vermaak
    40
  22. Crosscompiler for Arm Cortex A7

    On Windows 7 I have build FPC crosscompiler for Moxa UC-8410A with Arm Cortex A7 microprocessor with following: set PPBINDIR=c:\FPC\3.0.2\bin\i386-win32 set…

    Bogdan
    0
  23. FPC FIXES__3_0 fails to compile

    When compiling the latest fixes branch under Linux 64-bit fpc 3.0.2, with the following make command: make all OS_TARGET=linux CPU_TARGET=x86_64 NOGDB=1 OPT=-O3…

    Tony Whyman
    0
  24. Partial text search in a dictionary

    Hi list. I am looking for a class/list/map... that allows me to store string data paired with an object. However i would like to be able to do a partial text search on…

    Torsten Bonde Christiansen, duilio foschi, Jürgen Hestermann
    4
  25. German lazarus forum down

    [Short English version below] wie ihr vielleicht schon gemerkt habe, ist das deutschsprachige Lazarusforum schon wieder nicht erreichbar. Leider kann ich noch keine…

    Michael Fuchs
    0
  26. mssqlconn.ppu on darwin

    The unit mssqlconn is not compiled on FPC 3.0.2/3.0.3 on Darwin. Why? Mattias

    Mattias Gaertner, Jonas Maebe
    1
  27. Help me find a mp3 -> pcm audio data pascal implementation

    Does anyone know if there exists an mp3 to pcm audio data implementation written in pascal? A few days ago the mp3 format became patent free. A such a few OSS people are…

    Anthony Walter, fredvs, Sandro Cumerlato
    5
  28. Vehicle management

    Has anybody used FPC to talk to a vehicle via the OBD connector? Can anybody give me a quick summary of the position of FPC on Android etc.? (Graeme, that includes…

    Mark Morgan Lloyd, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    24
  29. Threading vs Parallelism ?

    Hello. Some developers treat me as dinosaur because I use threads in place of doing parallelism. Huh, ok, but why parallelism is better and how to do it with fpc ?…

    fredvs, Brian, Dimitrios Chr. Ioannidis
    42
  30. Call for testing: array constructors

    Hello together! Since revision 36105 FPC now supports the use of array constructors using the "[...]" syntax inside ordinary code blocks like Delphi does since - I think…

    Sven Barth, Jonas Maebe, Mark Morgan Lloyd
    8
  31. machine readable grammar of object pascal?

    for playing around I would need a grammar of Object Pascal. I do not care for which tool it is written or at best if it is plain EBNF. Does such grammar exist? Marc

    Marc Santhoff, denisgolovan, Graeme Geldenhuys
    18
  32. SimpleIPC examples in docs

    I thought I remember some simpleipc examples in the documentation a while ago (years ago).. Can't seem to find them in the current docs. Were they moved elsewhere or did…

    Unknown author, Graeme Geldenhuys, Michael Van Canneyt
    9
  33. Record operator for assignment

    Instead of making constructors and doing busy work It would be nice if Free Pascal could let you assign records outside of type blocks like: rec := (x: 0; y: 0; z: 0);…

    Ryan Joseph, Jürgen Hestermann, LacaK
    17
  34. simpleIPC for all programming languages ?

    I was thinking, that I need a way to use IPC (inter process communication) in all languages, so for example I could compile a plain C exe, Delphi exe, Rust exe, Nimrod…

    Unknown author, Michael Van Canneyt
    1
  35. simpleIPC strings

    With simpleipc you can send a string. I am wondering what type of string is safe to send? i.e. what happens with utf8 or unicode? Is it meant to send a regular string…

    Unknown author, Michael Van Canneyt
    1
  36. Translation C to Pascal

    since fpc supports a lot of intresting SoCs and Microcontrollers - has anyone really used Allwinner A20? - I need an update: Which translator do you use for making…

    Marc Santhoff, fredvs, Unknown author
    3
  37. silly question

    I am have FPC v. 2.6.2 installed on linux/ubuntu server A. I am sure I did some change to zeos library in server A, but I cannot remember details. I'd like to have the…

    duilio foschi, Michael Van Canneyt
    2
  38. Interfaces works in FPC 2.6.4 but not in 3.0.2

    I have CORBA style interfaces. My projects using them work perfectly in FPC 2.6.4, but if I compile the project with FPC 3.0.2, I never get a interface reference. My…

    Graeme Geldenhuys, Marcos Douglas B. Santos
    1
  39. Free Pascal Setup

    When I download the Free Pascal I get a file called i386-win32-ppc386.zip which contains 1 file called ppc386.exe which does not contain the Setup system for the Free…

    John van der Linden, Paul Breneman, Tobias Giesen
    3
  40. Patch for fpimage.inc

    I received notification of a patch (pull request) via my FPC Git mirror. The author has been notified to rather use Mantis, but seems to have some troubles registering.…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  41. Freevision etc.

    I've not used Freevision/Turbovision before, but am experimenting with James Clarke's DialEdit as an experiment to see whether I can create a fallback user interface for…

    Mark Morgan Lloyd, Graeme Geldenhuys, Michael Van Canneyt
    9
  42. importtl and ignored [out, retval] parameters

    I wanted to import the UIAutomationClient type library. Thus I compiled the UIAutomationClient.idl to .tlb and then used importtl to convert it to pascal. Importtl…

    Lubos Pintes, LacaK
    1
  43. Can fpdoc insert macro values or compiler version information?

    Does FPDOC have the ability to inject the compiler version into RTL and FCL documentation? Something like FPC's macro variables or something. eg: in the RTL Package…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  44. FPC Project of the Month at SourceForge

    For the second time, the Free Pascal Compiler has been elected "Community Choice" Project of the …

    Johannes W. Dietrich
    1
  45. Advantage Tdataset Components: Compilation error

    When i compiling adsl.lpk: Compile package adsl 10.10: Exit code 1, Errors: 1, Warnings: 15, Hints: 1 adsdesign.pas(50,5) Warning: Illegal identifier "UNSAFE_TYPE" for…

    Marek
    1
  46. outtextXY not moving pointer

    I am using a combination of outtext and outtextxy for an application using the graph unit on Windows. I am noticing that outtextxy is not moving the pointer to the end…

    James Richters, Marco van de Voort
    1