Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2009-04

  1. Linking issue in Ubuntu 9.04 (32 bit)

    I've installed ubuntu 9.04 in a VM to test it out, and have installed fpc 2.2.4. It is always good to look before you leap, right? Anyhow, I am trying to compile an…

    Alan Krause, Graeme Geldenhuys, Jonas Maebe
    9
  2. Apache Modules without LResources

    I'm in the process of converting a relatively complex LMS from Delphi to fpc. In Delphi I was using a descendant of TCustomWebDispatcher instead of a TWebModule in order…

    Giovanni Premuda, ABorka, Felipe Monteiro de Carvalho
    9
  3. FlushBuffers of FileStream

    Hello FPC-Pascal users discussions! I have used this Delphi/Kylix3 this code for flushing of buffers in my own stream descendant {$IFDEF WIN32} FlushFileBuffers (Handle);

    Roland Turcan, Jonas Maebe, Marco van de Voort
    2
  4. ASM code conversion from Delphi

    How can I write as ASM this assignment which is valid code for Delphi: mov DWord ptr TCPUIDData (edi).r_eax,eax where TCPUIDData is declared as: TYPE TCPUIDData …

    Roland Turcan, Jonas Maebe, m2
    2
  5. now i have a very strange behaviour of my arm compiler

    i still try to get a gtk applicatoins running on my device. And now i have found a work around for one error message. But in reality it's not a work around. It's a: "i…

    Benedikt Schindler, Henry Vermaak, Jonas Maebe
    4
  6. dcpcrypt 64-bit?

    There was a thread back in January about including DCPCrypt in the FCL. One of the questions that arose was whether it ported to 64-bit platforms. I didn't see that…

    Seth Grover, German Gentile
    1
  7. COM interfaces support in FPC 2.2.2 Win64

    I'm trying to compile a small executable in Win64 that makes use of the IFilter interface. Registry read accesses are okay, the CoCreateInstance on IFilter and…

    Eric Grange, Bart, Marco van de Voort
    4
  8. qprof

    Has someone managed to profile a fpc program with qprof under 32bit linux (ubuntu)? I always get "0 samples, 0 counts". Mattias

    Mattias Gaertner
    1
  9. OpenCL, Re: C Hex Float.

    Anyway. does FPC community need converted OpenCL headers? i'd like to share them. Should they be converted to the proper structure first (/src, make, fpmake)? there're…

    dmitry boyarintsev, Marco van de Voort
    2
  10. Greetings

    A quick introduction. I joined the FPC mailing lists yesterday. Nino Luciani

    Nino Luciani, Doug Chamberlin, Lou James
    4
  11. DirectFB for FPC (SVN)

    first of all, since I'm new to the list, I'd like to say my official hello. FPC is great, and it has recently contributed to renewing my interest in Pascal. Thanks to…

    Roland Schaefer
    0
  12. C to Pascal convertion. Hex Float.

    hello Developers. Does anyone have an experience with converting hex-float numbers from C to Pascal? i've converted all OpenCL (cl_platfrom.h, cl.h, cl_gl.h) headers…

    dmitry boyarintsev
    0
  13. RECORD alignment issue on Mac OS X intel based

    Hello FPC-Pascal users discussions! I am posting the same request to this mailing list and I posted into lazarus. Thanks for any answer in advance. TRoland; db>> use:…

    Roland Turcan, Jonas Maebe
    1
  14. How to use fpcmake

    Hi. I did read the documentation, I look for more information on the Internet and I've read some Makefile.fpc files on the FPC sources, but I can't create a Makefile.fpc…

    Guillermo Martínez Jiménez, Graeme Geldenhuys, Henry Vermaak
    8
  15. Getmem -> Move -> Freemem

    Hello. I'm using I need to reserve dynamic memory to store raw binary data. I tried the next code: fSize := aObject^.size; GetMem (fData, fSize); Move (aObject^.dat,…

    Guillermo Martínez Jiménez, Jonas Maebe, Marco van de Voort
    4
  16. Opinion about new target: Windows Native NT

    Hello together! I'm working on a port of FreePascal to the Native NT API of Windows/ReactOS and wanted to ask about your opinion on this idea. For those who don't know…

    Sven Barth, Florian Klaempfl, Marco van de Voort
    3
  17. build case-sensetive issue

    i've been rebuilding svn version of fpc i386-linux. i'm building RTL using 'make all install INSTALL_PREFIX=mypath' mypath is located on a Fat32 disk (flash drive). All…

    dmitry boyarintsev, Tomas Hajny
    2
  18. another pas to js converter

    http://www.anime.cz/skola/pj/ -Bee- has Bee.ography at: http://beeography.wordpress.com

    Bee, Marco van de Voort, Michael Van Canneyt
    4
  19. Widestring endianness

    I suppose that widestring is encoded with UTF-16 LE (little endian), regardless of the platform endianness. Is that correct? I mean, standard operations like assignment…

    Felipe Monteiro de Carvalho, Jonas Maebe
    1
  20. semaphores?

    Is there not a cross-platform semaphore API in Free Pascal? I planned on using the callbacks in TThreadManager as described in the docs…

    Seth Grover, Graeme Geldenhuys, Jonas Maebe
    9
  21. fpc-2.2.4.i386-win32 - Pixel format necessary capabilities

    I have (2) questions: 1. How to force FPC to trigger messages when compilation fails ? 2. When I run bounce.pp in DOS; how to solve the message: "Pixel format with…

    ferapac, Jonas Maebe
    1
  22. could not compile lazarus "make[2]: *** Killed"

    i try to compile lazarus and i get a "make[2]: *** [lazarus] Killed". there is no more information about what error raised. In dmesg i just get : [495850.880000] select…

    Benedikt Schindler, Henry Vermaak, Paul Ishenin
    12
  23. OLE Automation

    I would like to use FPC with OLE Automation in the windows environment. I have tried to do some research and it appears that the 2.3.1 version is referenced frequently. …

    Thomas Nelson, leledumbo
    1
  24. Difference between initialization and begin in a unit

    Might be a stupid question, but it's nowhere mentioned in the documentation though allowed. What are the differences between: unit A; interface implementation…

    leledumbo, Benedikt Schindler, Cox
    4
  25. program interpreter for arm eabi is wrong

    I can't seem to find the secret sauce that gives me program interpreter = ld-linux.so.3 for my arm eabi prgrams so I am having to symlink /lib/ld-linux.so.2 to…

    Terry Kemp
    0
  26. How I can install FPC IDE in MacOS

    i don't understand how to do that, i search all my need in Internet, but they all refer to Lazarus. Is there FPC IDE that can run inside Mac OS X is there, how to…

    Adam Pahlevi, Mattias Gaertner, Richard Ward
    5
  27. Allegro.pas 4.3.0 Alpha released

    This is an old note. I forgot to post it. Few days ago I released the second Alpha of Allegro.pas 4.3.0 Allegro.pas is a wrapper to allow Pascal programmers to use the…

    Guillermo Martínez Jiménez
    0
  28. ARM / SheevaPlug followup

    <sales pitch> I think the SheevaPlug is a great opportunity to promote the use of FPC in an embedded environment.</sales pitch> I need to figure out how to compile a…

    Joe Donth, Florian Klaempfl, Henry Vermaak
    5
  29. fpmake dependencies

    I saw that the fpmake programs of the fpc sources contain the unit/include file dependencies. Why? (fpc finds the unit/include file dependencies automatically.) Is there…

    Mattias Gärtner, Marco van de Voort, Michael Van Canneyt
    12
  30. fpmake custom options

    How to add custom options? The wiki of fpmake gives: T.Options:= '-dSOMEDEFINE'; T.Options:= T.Options + ' -xyzAnythingYouNeed'; I tried a simple example:…

    Mattias Gärtner, Michael Van Canneyt, Vincent Snijders
    7
  31. fpmake unit output directory

    How can I change the unit output directory in fpmake? Mattias

    Mattias Gärtner, Michael Van Canneyt
    2
  32. FPC / ARM / SheevaPort

    I am trying to compile Free Pascal for the SheevaPlug. I am getting an "illegal instruction" when I try to run the fpc program. I installed FPC from:…

    Joe Donth
    0
  33. Credit Card validation unit

    I have created a credit card validation unit written in Pascal. At the moment you can find it (only) in the following address:…

    ik, Lee Jenkins
    2
  34. Re: MacMode More Info / which compatibility mode and object class type to use with Mac OS X, XCode and Carbon

    I responded privately to this as it was also addressed to my personal email. Do you have any other questions from my private response? You can post them here if you…

    Richard Ward
    0
  35. fpc-2.2.2.i386-win32 on XP: Can't find unit GL used by ... (2)

    Please, disregard the previous message, since I was able to compile bounce successfully by customizing the OPTIONS\DIRECTORIES\units\etc... But now when I try to run…

    ferapac, leledumbo
    2
  36. RE: fpc-2.2.2.i386-win32 on XP: Can't find unit GL used by ...

    I'm not sure but may be the OpenGL are optional on Windows installer as in Ubuntu. Run the installer again, select "Modify" and check if OpenGL units are optional and…

    Guillermo Martínez Jiménez
    0
  37. Executing external process that executes another one

    (If somebody ever reads the same post in Lazarus forum, please re-read this one since there are some differences) I'm making another GUI for Octave (a MATLAB like…

    leledumbo
    0
  38. Re: MacMode More Info / which compatibility mode and object class type to use with Mac OS X, XCode and Carbon

    Thank for you answers and the links I did subscribe to the list but it seems I needed to complete the process with a confirmation. The FPC list and wiki servers are…

    Pierre Paré, Tomas Hajny
    1
  39. ExtractFilePath(GetModuleName(0)) problem

    Need Help please "confini := ExtractFilePath(GetModuleName(0))+'\myfile.ini';" returns C:Program FilesMyApp\myfile.ini should be C:\Program Files\MyApp\myfile.ini . Am I…

    lloyd thomas, leledumbo, Michael Van Canneyt
    4
  40. Re: Return & Exit

    OK. Thanks. That will be more portable than return since objpas is fairly common. Return is a bit simpler syntactically but exit performs the same way which is…

    Richard Ward
    0
  41. httpdefs.pp multipart/form-data

    Hi, I'm file from FCL-Web and found that it handles multipart/form-data. I've been using a 3rd party parser for this kind of data, but it lacks of a good method of…

    Leonardo M. Ramé, ABorka
    1
  42. MSEide+MSEgui version 2.0a

    MSEide+MSEgui rev. 2.0a for Free Pascal 2.2.4 has been released. https://sourceforge.net/project/showfiles.php?group_id=165409 Questions and bug reports please to NNTP:…

    Martin Schreiber
    0
  43. Free Pascal version 2.2.4 released

    The Free Pascal team is pleased to announce that version 2.2.4 has been released and is available for download for all major platforms: (in alphabetical order) Dos,…

    Joost van der Sluis
    0
  44. fpc-2.2.2.i386-win32 on XP: Can't find unit GL used by ...

    I am a total novice to FPC. I am using fpc-2.2.2.i386-win32 on XP Compiling Bounce.pp I Get the message: "Can't find unit GL used by bounce" Please: Where do I go from…

    ferapac
    0
  45. CTRL-Break and asynchronous exec

    I am trying to port some console programs to Free-Pascal(they use the CRT unit and originaly where written for Turbo-Pascal then they were ported to Virtual-Pascal). I…

    Jürgen Hestermann, Marco van de Voort, Tomas Hajny
    3
  46. Return Statement

    My last post got me thinking about weaning myself from macpas mode. One of the statements I have found quite useful is the macpas defined "return" statement which is…

    Richard Ward, Mattias Gaertner
    1
  47. FPC : MacMode more info

    Hi If not the appropriate list for this question, would you redirect the request I installed FPC with XCode on an iMac OS X 10.5 I am not a developer , I want to get…

    Pierre Paré, Joost van der Sluis, Tomas Hajny
    2
  48. Re: MacMode More Info / Beginning Mac Dev

    -- Also, check out the MacPascal List, the Lazarus list and the FPC/ Lazarus Wiki PAges -- To start out, I would recommend Ingemar's LW IDE for the Mac. It…

    Richard Ward
    0
  49. Re: getting system time in linux

    You can try this. Not all uses are needed, you have to find out. Rainer uses {$ifdef linux} termio, // serial unixutil; {$else} windows; {$endif} procedure…

    Rainer Stratmann, Jan De Bleser, Marco van de Voort
    4
  50. compiling lazarus : custombitmap.inc(293, 49) Error: absolute can only be associated with a var or const

    when i try to compile lazarus i get a error message "absolute can only be associated with a var or const" did someone have an idea why this happens? do i have to be in a…

    Benedikt Schindler, leledumbo, Marc Weustink
    3