Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2008-09

  1. TObject

    A have a unit (uSafeVar) with an object. The object has a property "data" of the type "SafeVar_typ" If I do this it works (wSafeVar is called) var p:SafeVar_typ; begin…

    Carsten Bager, Joao Morais
    4
  2. Re: command-line+Carbon template

    Thanks, Jonas -- Actually, I dealt with that potential source of anomalies way back in the original CodeWarrior version: the Pascal code opens and writes out to the file…

    Unknown author, Jonas Maebe
    1
  3. Carbon: i386 and PPC API differences

    I use Xcode to find samples of codes and try to make it work on FPC/Lazarus. One example opens an AUGraph and send MIDI messages - a small sample. It calls…

    EarMaster - Bent Olsen, Jonas Maebe
    3
  4. [RFC] Modification to packages/paszlib/src/zipper.pp

    With reference to this thread.. http://www.nabble.com/FPC-Zip-library-td15145102.html and the resulting bug entry.. http://bugs.freepascal.org/view.php?id=10787 I had a…

    Brad Campbell, Burkhard Carstens, Michael Van Canneyt
    5
  5. external variable

    Is ist possible to declare a external variable like in C? In the Cocoa headers there are some variables declared as external, like this: APPKIT_EXTERN NSString…

    Felipe Monteiro de Carvalho, Jonas Maebe
    1
  6. Random crashes in i386-macosx in PasCocoa

    I am getting a very strange crash, in a place of my code which never hat problems before. The exact same code works in another PasCocoa example, and even the same code…

    Felipe Monteiro de Carvalho
    3
  7. Ansistring not being freed on Halt(1)

    I'm chasing an issue with a program I have that is leaving an Ansistring unfreed on exit. It exists cleanly without using halt(), but this is the the only way I've…

    Brad Campbell, Graeme Geldenhuys
    2
  8. Use Free Pascal on Pandora handheld game console

    Hello. I was looking in the maillist archive but I didn't find an answer. Did somebody planned to compile, test and release FPC for the Pandora handgeld game console?…

    Guillermo Martínez Jiménez, Florian Klaempfl, Henry Vermaak
    9
  9. FPC 2.3.1 on Mac OS X?

    I've read that there are some issues with FPC 2.2.0 on Mac OSX. Is it save to install version 2.3.1 already ? Paul

    Paul, Bee, Damien Gerard
    7
  10. Re: command-line+Carbon template

    I didn't describe the problem I was experiencing becasue it seemed unlikely that anyone else would ever find themselves in this particular bind. That, and it didn't seem…

    Unknown author, Jonas Maebe
    1
  11. Darwin/i386 target

    Is there a way to compile for the Darwin/i386 target using a native Linux/i386 compiler and cross binutils rather than building a crosscompiler? This target seems to be…

    Adam Naumowicz, Jonas Maebe
    1
  12. command-line+Carbon template?

    I'm porting a rather larger CW app to FPC under MacOSX 10.4.11, and am trying to work around some rather flaky behavior I'm seeing with FPC's Turbo-based file i/o -- by…

    Unknown author, Felipe Monteiro de Carvalho, Jonas Maebe
    3
  13. FreeBSD/x86_64 snapshots

    The first snapshots of x86_64-FreeBSD are rolling in: a 26MB snapshot is available at (all binaries, just needs a fpc.cfg)…

    Marco van de Voort, Francisco Reyes, Unknown author
    8
  14. Debugging a darwin cross-compiler

    Still on the trail of the serial unit issue. Think I have it working (it's working perfectly on OSX PPC and all my variants of Linux) but I can't seem to generate valid…

    Brad Campbell, Jonas Maebe
    3
  15. FPC IDE on Windows: Configuring colours

    Hi If this is the wrong list for asking about the IDE, I would be glad if you could point me at the right list. I use FreePascal for occasional programming. However,…

    Frank Peelo, Marco van de Voort
    2
  16. Re: Can I make this with Free Pascal?

    It can even make OSes, what's so hard to build a CG apps? Well, you've seen it. So, it's possible. View this message in context:…

    leledumbo, Aleksa Todorovic, Bee
    18
  17. Help converting h-file

    I want to convert a h-file of a c-library and h2pas has problems with it. The file contains "static inline" functions. A second problem is the "volatile" keyword that's…

    Koenraad Lelong, Den Jean, Felipe Monteiro de Carvalho
    21
  18. Building latest SVN

    Hello FPC-Pascal users discussions! It stops with message: but it is uncomfortable to rollback to latest release to build up latest SVN. There must be "nicer" way, but…

    Roland Turcan, Jonas Maebe, Schatzl Thomas
    2
  19. Serial port access on Darwin PPC

    Can any Mac people tell me why FHandle := fpOpen(Port, O_RDWR or O_NOCTTY); (Where FHandle is a longint and port is '/dev/tty.usbserial-A400379A') .. just locks up…

    Brad Campbell, Jonas Maebe
    4
  20. xforms

    i am a newbie and tryng unsuccesfully to compile and run xforms example getting only this message: .... Compiling pushme.pp Linking ./pushme /usr/bin/ld: cannot find…

    Gaetano Di Stefano, Graeme Geldenhuys, ik
    5
  21. Bus error in ARM architecture

    There was a presentation about ARM in my university and I asked them about the errors when accessing unaligned memory. The good news is that they said that the latest…

    Felipe Monteiro de Carvalho, Bernd Mueller, Florian Klaempfl
    4
  22. Can't resize form in WinCE

    I'm trying to show a small form, but it always shows full screen in WinCE. Isn't this possible at all? Paul

    Paul, Felipe Monteiro de Carvalho, Mattias Gaertner
    12
  23. Next stabel installation for WinCE ?

    When will there we a new stable installation release for WinCE ? For the moment, I've given up FPC/Lazarus and ordered VS2008. I removed the current installation and…

    Paul, Felipe Monteiro de Carvalho, Vincent Snijders
    3
  24. BLOCKWRITE-restrictions in writing .bmp-file?

    Hi! About 1 year ago, I had this excellently working UNIT of bitmap-picture handling routines. Today I wanted to use them again, but the result is crappy. I was…

    Arjan van Dijk, Пётр Косаревский
    2
  25. Small OSX GUI apps

    Hi I use KOL (http://kolmck.net) with FPC on Win32 to produce small (exe size) gui applications. I am a complete newbie to all things Mac and OSX. Is there a similar…

    Jon, Felipe Monteiro de Carvalho, Ingemar Ragnemalm
    6
  26. TThread.WaitFor not returning?

    I have a thread based logging framework (part of tiOPF). I created a "Log to GUI" viewer for the log framework using fpGUI toolkit. While the application runs, the…

    Graeme Geldenhuys, Henry Vermaak, Luca Olivetti
    7
  27. Binary compatibility between Intel CPU and PowerPC CPU

    Hello FPC-Pascal users discussions! What is the best way to keep the binary compatibility among different CPU architectures. I need to make our own database engine…

    Roland Turcan, Adriaan van Os, Francisco Reyes
    7
  28. FPC for FreeBSD AMD64?

    Are there any plans for a FreeBSD AMD64 version? Sometime ago I tried to work on this and since I am not very familiar with FPC yet I could not get very far. If there…

    Francisco Reyes, Boris Samorodov, Marco van de Voort
    10
  29. cwstrings and uclibc

    There was a discussion among lazarus developers about what kind of problems adding the cwstrings unit (libc widestring manager) for all UNIXes could bring. Are there any…

    Felipe Monteiro de Carvalho, Florian Klaempfl, Graeme Geldenhuys
    17
  30. WindowFromPoint

    which unit do I need to call this function (WinCE) I found it in wincewinapi.inc, but can't find the unit to use. Is there a way to search this, checking all units is…

    Paul, leledumbo
    1
  31. Typechecking problem porting from D7

    Hi guys - after a decade using Delphi, I finally switched to FPC! I like it a lot, so far. Porting some code, I am stuck with something that looks trivial, however, and…

    Frank de Groot / Rent-a-Geek, Florian Klaempfl
    2
  32. WinCE simulate touchscreen click

    I'm trying to simulate a click on the screen. I thought I could use mouse_event, but when I call mouse_event from a button, the button begins to flip…

    Paul, Vasil
    2
  33. String and Multithreading...and why i even thought about this

    @Florian,@Jonas, of course you are both right, there is a race condition. I was looking for some inspiration for some sort of garbage collection for a (simple) script…

    Nihilist
    0
  34. Strings and Multithreading (case)

    I thought about usings Objects in Multithreaded objects and had a to get some inspiration. I had this problem: one global string two threads lets say, both threads set…

    Nihilist, Florian Klaempfl, Jonas Maebe
    2
  35. Strings and Multithreading, possible Solution.

    A possible Solution to the potential error in astrings might be to use interlockedexchange (for pointers) Attempt: Procedure fpc_AnsiStr_Assign (Var DestS : Pointer;S2 :…

    Nihilist
    0
  36. DateTimeToFileDate

    When I do this Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 --------------------- Program tt; sysutils; function strPackTime(t:longWord):shortstring; var…

    Carsten Bager, Jonas Maebe, Mattias Gaertner
    7
  37. WinCE api calls info

    where can I find a list of available api calls for WinCE/Arm ? I need to make a screenshot, set the cursor postion and inject keypresses. Paul

    Paul, Felipe Monteiro de Carvalho, Mattias Gaertner
    18
  38. Unable to authenticate to update entry in "contributed units"

    I just added an entry to "contributed units" (Kambi VRML game engine). Of course, two seconds later I wanted to correct it. But I can't --- looks like I cannot…

    Michalis Kamburelis, Jonas Maebe
    1
  39. PACKENUM and MINENUMSIZE

    Hi! Could anyone help me determining the defaults for MINENUMSIZE / PACKENUM? As far as I could find in the docs it depends on $MODE: for $MODE OBJPAS it's 4 but I…

    Lukas Gradl, Marco van de Voort, Michael Van Canneyt
    6
  40. UIB on Linux X86_64

    Another problem occured: When using UIB with fpc on X86_64 field values are always empty (for strings) or 0 (for integers). For demonstrating the problem I created the…

    Lukas Gradl
    1
  41. Install FPC/Lazarus for Win CE

    I want to install FPC/Lazarus for Win CE, and since I have still problems with it on the iMac, I want to be sure I'm doing it right the first time. I've printed info…

    Paul, Felipe Monteiro de Carvalho, Florian Klaempfl
    17
  42. detecting and accessing a properties 'stored' value via RTTI

    I need to find out if I need to store a property value or note. The property is published and has the 'stored' directive / storage specifier. I know how to test if the…

    Graeme Geldenhuys
    1
  43. fpdoc - Is there tag for function parameters?

    Hi. I use fpdoc to generate documentation. I want to be function parameters documented also, But I affraid fpdoc doesn't support it yet. Here is what I have in html…

    Dusan Halicky, Michael Van Canneyt
    1
  44. "Invalid field size" when using UIB with fpc 2.3.1

    Hi! Just had to upgrade to fpc 2.3.1 for some reason. But using fpc 2.3.1 UIB produces an "Invalid field size" error when trying to open a UIBDataset. The same program…

    Lukas Gradl, Joost van der Sluis
    2
  45. Exe size

    I'm testing with FPC/Lazrus on Windows now, but a simple program results in 11.5 MB size. I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options (Lazarus),…

    Paul, Felipe Monteiro de Carvalho, Florian Klaempfl
    34
  46. How to customize a TDBMemo

    I am using a TDBMemo with a TSdfDataset, but this database uses newlines to separate the records, so it's impossible to store data with multiple lines. So I thougth that…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, Joost van der Sluis
    2
  47. package help & site bug

    In the search of a .deb package for my ibook G4 (ubuntu) I've just noted that the page: http://www.freepascal.org/down/powerpc/linux-ftp.freepascal.org.var write about…

    Marco Ciampa, David Emerson
    3
  48. License question; unit to view floating-point details

    I have a created a unit FloatView to help you inspect in detail 32-bit (Single) and 64-bit (Double) IEEE 754 floating-point values (in case "every bit counts; note that…

    Tom Verhoeff, Adriaan van Os, Felipe Monteiro de Carvalho
    12
  49. Speed difference between intel/ppc on intel Mac

    I have an Intel-based MacBook Pro. Until recently, I still used a PowerPC version of FPC. PowerPC code on this machine runs through (invisible) emulation. However, I…

    Tom Verhoeff, Jonas Maebe, Micha Nelissen
    3
  50. Using TSdfDataset

    I am trying to use TSdfDataset, but without success. I get the following crash: Breakpoint 1, 0x0000f386 in fpc_raiseexception () (gdb) bt #0 0x0000f386 in…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, Howard Page-Clark
    9