Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2008-02

  1. Object Pascal & arm-linux

    I successfully ran some MSE-gui test-programs on my arm-board. To do this I used a patched fpc 2.2.0-fixes. The patch involved backporting a fix from fpc-2.3.1 for…

    Koenraad Lelong, Florian Klaempfl
    5
  2. Save image into BMP or JPEG using Free Pascal (Save screenshot of OpenGL scene)

    I need to save data stored in memory into .bmp or (which would be the better variant) into .jpg file. Actually what I want to do is to save the OpenGL screen (probably…

    Jakub Marian, Bent Normann Olsen, Felipe Monteiro de Carvalho
    14
  3. Re: WSAGetLastError returns 0 when it shouldn't but I cannot see why

    even if it couldn't I am also working on this issue still. I had the WSAGetLastError working using direct sockets.pp calls but didn't get it working using synapse yet..…

    L, Luca Olivetti, Lukas Gebauer
    10
  4. Empty record inside another record ?

    To me it seems like some kind of trick, to extend a empty record field, functions as a sort of offset/label/pointer if you will to the new fields that will will be…

    Skybuck Flying, Bee, Daniël Mantione
    20
  5. make RELEASE=1 ?

    Hi, all! Some time I was building LCL using standart command: make clean all # for current target cpu,os and make clean all OS_TARGET=wince CPU_TARGET=arm PP=ppcarm ...…

    Denis Golovan, Peter Vreman
    2
  6. Externalization and inclusion of .PAS files (with GTK+) ?

    I'd like to simplify my programs by creating a short MAIN.PAS file and several additional .PAS files called inside. So I'd like to deport most of my code (procedures,…

    T. Guilleminot, Artur Stuczynski, ik
    2
  7. WSAGetLastError returns 0 when it shouldn't but I cannot see why

    Hello, before reporting a bug, I'm asking for support here since I'm not sure I doing something wrong (and if so what am I doing wrong). While using synapse in a thread,…

    Luca Olivetti, Marco van de Voort
    2
  8. arm-linux, no bus error on misaligned data access

    my ARM-Linux board seems to be resistant against bus errors/misaligned data access or the compiler does some magic to prevent these ;-) It would help me, to debug a…

    Bernd Mueller, Daniël Mantione
    2
  9. Question on programming serial communication.

    I decided to port a DOS program (written in BP7) to Linux, because it becomes hard and harder to maintain it since I completely changed to Linux. Because this program…

    Rainer Hantsch, Gene Buckle, Horacio Jamilis
    13
  10. > ARM and graphic libraries

    Does anyone here have any experience with using FreePascal using ARM microprocessor and drawing graphics?

    Weyert de Boer, Carsten Bager, Den Jean
    4
  11. Status on LazReport and FPC 2.3.1 on MacOSX/Win32

    I have FPC 2.3.1 installed on both MacOSX and Win32, and trying to see how LazReport is working. On Win32 the debugger crashes, and on MacOSX editing and editing in…

    Bent Normann Olsen
    0
  12. Vim FileType for pascal files

    hi ! I use includes files and a vim editor. Obviously .inc are not recognized as pascal files. I tried the following : // vim:ts=4:filetype=pascal but it does not work.…

    Damien Gerard, bartek, Lucas Vasconcelos
    3
  13. the libc unit (again)

    I find more and more units and components (for Lazarus) that are using the libc unit. I find it really problematic, because it doesn't exists for all platforms and…

    ik, Giuliano Colla, Marco van de Voort
    7
  14. Local Time

    My problem is that I get UTC time with the 220 compiler on the Arm platform, when using gettime, now ---. If i compile my program "lt" (local time) with the 220 compiler…

    Carsten Bager, Florian Klaempfl, Jonas Maebe
    7
  15. GLext in Free Pascal does not work?

    Hello, I've been trying to solve the problem with the unit GLext for some time and I am getting mad. I need to use vertex shaders written in GLSL, but I am a novice in…

    Jakub Marian, Michalis Kamburelis
    3
  16. Dependency on other tools ? (Spaces in path issue ?)

    I have come to the point where I want to add files to the search/unit path. I have spaces in my folders and the compiler fails to find the files. This raises some…

    Skybuck Flying
    0
  17. How to Copy files from one dir to another ?

    I´m try use CopyFile (TurboPascal and Delphi function) on FPC 2.2.0 but i can´t. Someone can help-me ? Lucas Vasconcelos

    Lucas Vasconcelos, Mattias Gaertner, micahel schneider
    3
  18. run time error 208

    what makes a calculation like this: result := 4*Q / (pi*ny*d); throw an error: An unhandled exception occurred at $080897AB : Exception : Unknown Run-Time error : 208…

    Marc Santhoff, Florian Klaempfl, Jonas Maebe
    8
  19. fpGUI (a Free Pascal GUI Toolkit) v0.6 has been released

    fpGUI version 0.6 has been released. Five months after the previous release, v0.6 is finally here. As always, lot has been improved and added. For example: a newly…

    Graeme Geldenhuys, Cesar Romero
    2
  20. cthreads unit

    I'm trying to use the pthread_self function that supposed to be existed at cthreads unit. However the compiler tell me that it does not know "pthread_self". I'm using…

    ik, Jonas Maebe
    2
  21. compiler asks for variants support

    why does this program: program novariant; uses sysutils; var a, b: double; begin b := 0.4237; a := b**5; writeln(floattostr(a)); end. when running give that error…

    Marc Santhoff, Jonas Maebe
    2
  22. Pascal Translator for Virtual Machines

    I finally setup a SourceForge project for the PTVM: https://sourceforge.net/projects/ptvm/ Right now it's at beta 0.3, and can translate and compile (with MTASC) a…

    Marco Alvarado, Cesar Romero
    1
  23. syscalls and fpc

    I found that the Do_Syscalls are written in assembly and have only limited number of parameters (up to 6). Is there a way to write it using array of TSysParam instead of…

    ik, Florian Klaempfl, Jonas Maebe
    21
  24. New local-indexes support for sqldb

    fpc 2.3.1 and 2.2.1 now have local indexes support for sqldb. (TBufDataset) I would like it if you can test if it works ok for you before we release fpc 2.2.2. Usage is…

    Joost van der Sluis, Jesus Reyes
    3
  25. MySQL insert, load data

    Along Joost's examples I managed to get connected, create a table, put a query, get the result, and insert a single row. But when I try to insert several rows at once, I…

    Wolfram Kläger, Leonardo M. Ram�, Michael Van Canneyt
    3
  26. Compiler API specification

    Here is my idea for a compiler application programming interface (api) / specification: type // informs which file was tried by compiler, if successfull error text…

    Skybuck Flying, Florian Klaempfl, Jonas Maebe
    5
  27. XML Programming..

    Hi.. I'm looking for an example how to use or programming XML in fpc.. n the documentation I hope.. Tq.. EAM

    Unknown author, Damien Gerard, Graeme Geldenhuys
    12
  28. atomic primitives for lock-free algorithms?

    I'm reading about lock-free algorithms: http://en.wikipedia.org/wiki/Lock-free_algorithms#Implementation Is there a way to access those atomic primitives, but in a…

    Marco Alvarado, Dariusz Mazur
    1
  29. Skybuck's ODE approved by sourceforge :)

    My project called: Skybuck's ODE is getting off the ground :) The project's website, source code, collobaration support is located at:…

    Skybuck Flying, Daniël Mantione, Flávio Etrusco
    18
  30. Changing the background of a radiobutton inside a groupbox

    I am having problems on a pure Win32 API test software (the real problem is something I'm tracking on the lazarus wince interface). I am trying to change the background…

    Felipe Monteiro de Carvalho
    1
  31. Error, WinCE/ARM and inherit from TForm and IInterface.

    Only when i try to compile for WinCE/ARM i have this error, Is that bug or i have a problem? ---------- type IMyInterface = interface(IInterface)…

    zaher dirkey
    0
  32. Can you knock my socks off ? Can you mimic Skybuck's/Delphi's Major Breakthrough for code path and memory structure selection ?

    This usenet posting discussess what I consider to be a major breakthrough for me and Delphi coding in general. It explains what I need and want to do and how I solved it.

    Skybuck Flying, Henry Vermaak, Luiz Americo Pereira Camara
    8
  33. Re: Interfacing with the free pascal compiler ?

    Just use the compiler unit in your project.

    Florian Klaempfl, Daniël Mantione, Guillermo Martínez Jiménez
    6
  34. set addition bug?

    I'd like to know if this is a known issue, or a new bug. With the following code: ------------------ program tester; type SomeType = ( SomeElem ); const ElemSet = […

    Adam Naumowicz, Peter Vreman
    5
  35. Free Pascal compiler/linker/debugger as a plug-in/replacement for Delphi compiler/linker/debugger

    Delphi's compiler/linker is probably malfunctioning for uint64 types. It would be nice if free pascal compiler/linker/debugger can be used as a replacement. So that I…

    Skybuck Flying, Joao Morais, Marco Alvarado
    8
  36. Semaphore

    Hi ! I think it has been discussed before but I would like to use Semaphores, to allow multiple reads but 1 write at once (which is in fact commons operations in a…

    Damien Gerard, Graeme Geldenhuys, Jonas Maebe
    13
  37. fpc 2.2's tmysql5conn error

    This morning, when I was testing to upgrade FPC on productional server to v.2.2, I found a strange error in TmySQL5Connection of FPC 2.2's FCL-DB. Any queries that have…

    Bee, Joost van der Sluis
    2
  38. Procedures in records not supported :(

    Borland pulled a fast one on me ;) My most recent code uses the new feature "procedures in records". It seems fpc 2.2.0 does not support procedures in records. I was…

    Skybuck Flying, Felipe Monteiro de Carvalho, John
    12
  39. Dead link

    I don't know if it can help but there is a dead link in this page : http://www.freepascal.org/docs-html/ref/refsu18.html#x44-490003.7.1 ((for the explanation of…

    Milipili
    0
  40. lul.pas does not compile with fpc 2.2.0

    The following simple and valid Delphi code does not compile with command: fpc lul.pas // *** Begin of Code *** unit lul; interface type Tpenis = class private public end;

    Skybuck Flying, Giuliano Colla, ik
    10
  41. Properties in records not supported ! :(

    Delphi 2007 has another pretty handy new feature: "Properties in records". For example it's even possible to have index properties. Some that I could write code using…

    Skybuck Flying
    0
  42. Re: lul.pas does not compile with fpc 2.2.0 -Mdelphi solves it.

    Solved. fpc lul.pas -Mdelphi Works. fpc lul.pas -Mdelphi Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS:…

    Skybuck Flying
    0
  43. bluetooth wiimote linux

    Has anybody done something with FPC and bluetooth and especially the wiimote under linux and can give me some hints? Mattias

    Mattias Gaertner
    1
  44. FPC Zip library

    Does anyone know a zip library for fpc that can create a directory structure inside the zip? I am implementing a generic spreadsheet library, and I was considering…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, Michael Van Canneyt
    7
  45. FPC for virtual machines?

    Hello! I'm in the Lazarus list, but I'm new to this one. Are there FPC versions for these virtual machines? Java Flash 8 (actionscript 2) Flash 9 (actionscript 3) If the…

    Marco Alvarado, Jonas Maebe, Matt Emson
    8
  46. static class methods

    Why do static class methods in FPC have a "Self" parameter? In Delphi, static class methods do not have a Self parameter. Jon

    Jonathan Benedicto, Jonas Maebe, Micha Nelissen
    7
  47. Strange behaviour about class properties

    I have the following class : FDK_record = class private TABLE: FDK_table; procedure SET_COLUMN ( field_index: integer; field_value: string ); function GET_COLUMN …

    Adrian Maier
    0
  48. EControlC exception

    Hi. Recently I discovered that Delphi can detect [Ctrl]+C keys using the EControlC exception. I was curious so I decided to test it in Linux…

    Guillermo Martínez Jiménez, Jonas Maebe, Michael Van Canneyt
    2
  49. Lazarus with FPC 2.3.1 i386 Mac OSX

    Anyone having an idea when Lazarus is to be released with FPC 2.3.1 for i386 Mac OSX? Normann

    Bent Normann Olsen, Jonas Maebe, Vincent Snijders
    6
  50. Turbo Pascal and Object Pascal ways of OOP

    From the Delphi (7) help and in the borland newgroups I read that the old TP style object type is considered to disappear, and actually only kept for code compatibility.…

    Tiziano De Togni, Daniël Mantione, Florian Klaempfl
    12