Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2010-02

  1. Sets & FPC

    I've got a piece of code which uses TOwnerDrawStateType and TBaseOwnerDrawState which is set of TOwnerDrawStateType , if i have on variable called state which is…

    Justin Smyth, cobines, Jonas Maebe
    12
  2. floating point an FPC

    I've made a small test: if (0.1+0.2) = 0.3 then The only compiler/interpator that actually tells that it equal is FPC. I've tested it using Javascript (in Firefox),…

    ik, Flávio Etrusco, Graeme Geldenhuys
    9
  3. Which regex unit to use?

    There are a few regex units include with FPC and Lazarus, and dozens more available for Delphi (and probably FPC too). Which one is the most well known, or best to use,…

    Graeme Geldenhuys, Joost van der Sluis, Seth Grover
    3
  4. png bitmap

    Has someone experience with creating png bitmap files? Is it easy or complicated? I programmed a web server and wanted to serve diagrams also.

    Rainer Stratmann, Felipe Monteiro de Carvalho, Ingemar Ragnemalm
    5
  5. Is there a way to install FPC on QNX system?

    I'm trying to use QNX multi tasking system. http://www.qnx.com Is it possible to use FPC on this system?

    yu ping, Michael Van Canneyt
    2
  6. mbox file access

    is there any source for reading and parsing mbox files? I know those files are simple, but if someone has done something already that would be nice. Especially indexing…

    Marc Santhoff
    0
  7. Which -Op??? parameter is appropriate

    System used: Intel Core 2 Quad Q9400 @ 2.66GHz with 4GB memory FPC 2.4 64-bit under Ubuntu 8.04.2 LTS 64-bit Which -Op??? can I use to optimize my application best for…

    Graeme Geldenhuys, David W Noon
    3
  8. Memory allocation problem

    I'm looking for a function or a procedure that tries to allocate memory and return nil on failure. GetMem seems to be a good candidate but it doesn't works as expected.…

    Yann Bat
    1
  9. Setting a variable in GDB

    If I can, how to I set a variable to have an alternative value while debugging in via GDB? I know the GDB 'set' command, but not sure how to set string values etc...…

    Graeme Geldenhuys, Jonas Maebe
    1
  10. some new features to delphi prisem

    REM Objects released an interesting document regarding some changes (that looks so much like Ruby) to their Delphi Prisem. For example assignment of a value regarding a…

    ik, Anthony Walter, David Emerson
    31
  11. Re: fpc-pascal Digest, Vol 68, Issue 28

    Can someone please let me know where i need to put the complier ption -WB00400000 to solve the 64 bit debug issue in lazarus ? ----- Original Message ----- From: To:…

    Justin Smyth, Graeme Geldenhuys
    1
  12. FPC from subversion without root access

    Como posso ter o FPC do subversion instalado em meu diretório? 1) Download form subversion - Ok ...) Compile? Create ~/.fpc.cfg? How ?

    Osvaldo Filho, Marc Weustink
    5
  13. Memcached interface for FPC available already?

    Is somebody aware of an fpc interface for the memcached protocol? (See http://memcached.org/) As there seem to be some projects using fpc to provide web content and…

    Mark Daems
    0
  14. Re: Re: Ido not understand UTF8 in Windows

    The steps are : 1) Change the Font Type at Lucida Console Font : http://www.conoce3000.com/fig01.jpg 2) Compile the program with fpc 2.4. : 3) change to UTF8, with chcp…

    Luis Fernando Del Aguila Mejía, JoshyFun, Michael Van Canneyt
    7
  15. Thread IDs

    What is the difference between GetThreadID() and GetCurrentThreadID()?

    Wimpie Nortje, Jonas Maebe, Vincent Snijders
    4
  16. Exec(), Linux, and /dev/null redirection

    I'm cross developing a program in free pascal running FreeVision. When running under Linux / Busybox; I'm attempting to mount a device to scan it for a set of files.…

    Zitt Zitterkopf, cobines, Marco van de Voort
    3
  17. Ido not understand UTF8 in Windows console.

    Translate Message : English Ido not understand UTF8 in Windows console. I wrote the following program, using an editor UTF8 without BOM mark. {código de página UTF8}…

    Luis Fernando Del Aguila Mejía, JoshyFun
    3
  18. Is fppkg dead?

    Is fppkg a dead initiative? Or is this ever going to go "live" for other developers or even FPC to push packages to the repository too? If so, what is the requirements…

    Graeme Geldenhuys, Jeff Wormsley, Jonas Maebe
    4
  19. Printing of FPC program listing

    Thank you for the answers and advice I have received. Three new issues if you good people don't mind. 1. I want to print my program listing by using the print option in…

    James Gibbens, Marco van de Voort
    2
  20. C thread callbacks

    Hi I have a C library that uses threads. These threads use callbacks into my pascal for events. What must happen for the pascal events handlers to be able to safely…

    Wimpie Nortje, Jonas Maebe
    1
  21. Re: fpc-pascal Digest, Vol 68, Issue 19

    Your right let me clear this up , its really two classes i'm having issues TReader is only missing ReadStr - i have replaced the call with readstring as for the…

    Justin Smyth
    0
  22. sysutils.beep doesn't beep under Linux?

    I'm porting some code which "beeps" the console. When I use sysutils.beep() it doesn't work under Linux. What's the easiest way to accomplish this? Thanks. -- Bruce…

    Bruce Bauman, Andrew Haines, Anthony Walter
    37
  23. TReader Class

    Hopefully someone can point me to the right direction here, if this isnt the right place to ask feel free to point to where i can ask ... The FPC Class for TReader is…

    Justin Smyth, Michael Van Canneyt, Unknown author
    2
  24. Generics problem/question

    I tried to specialize fgl.TFPGList with some record type and got a compiler error. Am I doing something completely wrong (sorry in that case) or is this a bug? (Ubuntu…

    Honza, Aleksa Todorovic, Gerhard Scholz
    15
  25. Pointers

    What is the difference between A* and B*? regards, Rainer type tchararr = array[ 0..999 ] of char; pchararr = ^tchararr; http_obj = object pdata : pchararr;…

    Rainer Stratmann, David Emerson, Frank Peelo
    11
  26. values for ThreadSetPriority

    After reading the online docs, and searching this list, I'm still confused. Hopefully someone can straighten me out.…

    Seth Grover, Graeme Geldenhuys, Jonas Maebe
    2
  27. String buffer

    Probably just reinventing the wheel - I was not able to quickly find a String builder/buffer elsewhere. Source code for anyone possible interested is published on a blog…

    Honza, Flávio Etrusco, Graeme Geldenhuys
    5
  28. Fw:Re: I have some qustions about free pascal

    ------------------ Original ------------------ From: "Tomas Hajny"; Date: Wed, Jan 13, 2010 01:06 AM To: "FPC-Pascal users discussions"; Cc: "彘"; Subject: Re:…

    彘, Tomas Hajny
    1
  29. programmatically creating desktop icons under Linux

    This question is specific to a PC running Kubuntu 9.1 64-bit with a KDE 4.1 desktop. I have a large number of PDFs. Their filenames are not meaningful, but I do have a…

    brian, David W Noon, Graeme Geldenhuys
    6
  30. MSEide+MSEgui SourceForge -> BerliOS

    Because of the access restrictions on SourceForge MSEide+MSEgui has been moved to BerliOS: http://developer.berlios.de/projects/mseide-msegui/ Download:…

    Martin Schreiber, Anthony Walter, Graeme Geldenhuys
    9
  31. Cross-compiling from 64-bit Linux to 32-bit Linux

    Hi I'm running Ubuntu 9.04 (64-bit) and have FPC 2.4.1 installed. I cross-compiled a 32-bit version of FPC as well. I'm not trying to compile my fpGUI based projects…

    Graeme Geldenhuys, Osvaldo Filho, Patrick Chevalley
    5
  32. Component Writing - Registering Components with the widget set

    Can someone help here , if i have my own custom component thats got a container that has a base class of TCustomControl does one need to register it on the widget level…

    Justin Smyth, Mattias Gaertner, Zaher Dirkey
    2
  33. error while compiling

    I have a function ftest located in library program (dll). function ftest(Param: PWideChar): PWideChar; stdcall; export; And will call them with a program with use:…

    dayat, Jonas Maebe
    1
  34. Cancelling Scientific notation

    I am VERY new to free pascal and I have a couple of problems. Can somebody please help? 1. If a, b are real numbers and I want to round a/b foo to 3 decimal places, the…

    James Gibbens, Anthony Walter, Frank Peelo
    5
  35. FPC with avr 8 bit

    Is there any port of FPC for AVR 8 bit CPU ? Ido http://ik.homelinux.org/

    ik
    0
  36. Unsolicited messages

    I'm receiving unsolicited spam messages along with the normal message on this list. Is this happening to anyone else? The email address I use here is for the sole…

    Unknown author, David Emerson, Graeme Geldenhuys
    4
  37. Component Writing Question For Lazarus

    I've got a simple question , i want to write a component that has two or more other components on it ( ie a text box or or a button and a image ) on it , should i be…

    Justin Smyth, ik, Paul Ishenin
    3
  38. How to init Array values in a record?

    _TBBUTTON = Record iBitmap : cint; idCommand : cint; fsState : BYTE; fsStyle : BYTE; bReserved : ARRAY[0..1] OF BYTE; // padding for…

    yu ping, Anthony Walter, Jonas Maebe
    3
  39. daemon error, arm-linux

    Hello, can anybody tell me what's a problem. When I start my daemon on first machine that have 'arm' processor, it's successfully running, but on other machine that have…

    Евгений Семенов (Evgeniy Semenov
    1
  40. YAML support

    Are there plans to implement YAML? I found JSON support but that is missing a feature I would like to use. Apparently JSON is a subset of YAML, but it doesn't have a…

    Wimpie Nortje, ik, Michael Van Canneyt
    4
  41. TVision dynamic NewSItem for RadioButton

    I have a list of strings inside a TStringList which contains the contents of my TurboVision RadioButton group. This TStringList has a variable data payload... there may…

    Zitt Zitterkopf, Marco van de Voort
    1
  42. Assigning events in objects

    I'm writing a TurboVision App to cross compile to Linux - but debugging on my main Win32 box. In this app; I'm attempting to use the TFPTimer component to trigger an…

    Zitt Zitterkopf, Marco van de Voort, Michael Van Canneyt
    2
  43. Help converting C code

    Does the BlockRead below: type TRGBQuad = record rgbBlue: GLubyte; rgbGreen: GLubyte; rgbRed: GLubyte; rgbReserved: GLubyte; end; ... var FileHandle: File; BytesRead:…

    leledumbo, Marco van de Voort, Michael Van Canneyt
    3
  44. C# implementation of TObject Dispatch/DefaultHandler

    I though I'd share this and as for any feedback. Today I was experimenting with a borrowing a Delphi concept and implementing it in C#. I wanted to be able to do this in…

    Anthony Walter, Graeme Geldenhuys, Jonas Maebe
    2
  45. ReadXMLFile() fails reading a xml file

    Part of creating a new cross-platform installer application, I'm trying to read an XML file that contains UTF-8 characters, but I get the following error. Unicode…

    Graeme Geldenhuys, cobines, Lee Jenkins
    5
  46. Locating the users HOME folder

    Does FPC contain a function that returns the users $HOME folder? Something that works cross-platform? eg: similar to GetAppConfigDir() - Graeme - fpGUI Toolkit - a…

    Graeme Geldenhuys, Michael Van Canneyt, Vincent Snijders
    5