fpc-pascal · 2010-02
- Sets & FPC12
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…
- floating point an FPC9
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),…
- Which regex unit to use?3
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,…
- png bitmap5
Has someone experience with creating png bitmap files? Is it easy or complicated? I programmed a web server and wanted to serve diagrams also.
- Is there a way to install FPC on QNX system?2
I'm trying to use QNX multi tasking system. http://www.qnx.com Is it possible to use FPC on this system?
- mbox file access0
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…
- Which -Op??? parameter is appropriate3
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…
- Memory allocation problem1
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.…
- Setting a variable in GDB1
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...…
- some new features to delphi prisem31
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…
- Re: fpc-pascal Digest, Vol 68, Issue 281
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:…
- FPC from subversion without root access5
Como posso ter o FPC do subversion instalado em meu diretório? 1) Download form subversion - Ok ...) Compile? Create ~/.fpc.cfg? How ?
- Memcached interface for FPC available already?0
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…
- Re: Re: Ido not understand UTF8 in Windows7
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…
- Thread IDs4
What is the difference between GetThreadID() and GetCurrentThreadID()?
- Exec(), Linux, and /dev/null redirection3
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.…
- Ido not understand UTF8 in Windows console.3
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}…
- Is fppkg dead?4
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…
- Printing of FPC program listing2
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…
- C thread callbacks1
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…
- Re: fpc-pascal Digest, Vol 68, Issue 190
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…
- sysutils.beep doesn't beep under Linux?37
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…
- TReader Class2
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…
- Generics problem/question15
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…
- Pointers11
What is the difference between A* and B*? regards, Rainer type tchararr = array[ 0..999 ] of char; pchararr = ^tchararr; http_obj = object pdata : pchararr;…
- values for ThreadSetPriority2
After reading the online docs, and searching this list, I'm still confused. Hopefully someone can straighten me out.…
- String buffer5
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…
- Fw:Re: I have some qustions about free pascal1
------------------ Original ------------------ From: "Tomas Hajny"; Date: Wed, Jan 13, 2010 01:06 AM To: "FPC-Pascal users discussions"; Cc: "彘"; Subject: Re:…
- programmatically creating desktop icons under Linux6
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…
- MSEide+MSEgui SourceForge -> BerliOS9
Because of the access restrictions on SourceForge MSEide+MSEgui has been moved to BerliOS: http://developer.berlios.de/projects/mseide-msegui/ Download:…
- Cross-compiling from 64-bit Linux to 32-bit Linux5
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…
- Component Writing - Registering Components with the widget set2
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…
- error while compiling1
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:…
- Cancelling Scientific notation5
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…
- FPC with avr 8 bit0
Is there any port of FPC for AVR 8 bit CPU ? Ido http://ik.homelinux.org/
- Unsolicited messages4
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…
- Component Writing Question For Lazarus3
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…
- How to init Array values in a record?3
_TBBUTTON = Record iBitmap : cint; idCommand : cint; fsState : BYTE; fsStyle : BYTE; bReserved : ARRAY[0..1] OF BYTE; // padding for…
- daemon error, arm-linux1
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…
- YAML support4
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…
- TVision dynamic NewSItem for RadioButton1
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…
- Assigning events in objects2
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…
- Help converting C code3
Does the BlockRead below: type TRGBQuad = record rgbBlue: GLubyte; rgbGreen: GLubyte; rgbRed: GLubyte; rgbReserved: GLubyte; end; ... var FileHandle: File; BytesRead:…
- C# implementation of TObject Dispatch/DefaultHandler2
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…
- ReadXMLFile() fails reading a xml file5
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…
- Locating the users HOME folder5
Does FPC contain a function that returns the users $HOME folder? Something that works cross-platform? eg: similar to GetAppConfigDir() - Graeme - fpGUI Toolkit - a…
