fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Using properties in interfaces1
if I understand the documentation correct, this is the only way using a property in an interface: IMyInterface = interface function GetTag: Integer; procedure…
- Re: Accessing USB HID from Lazarus programs?8
I posted this on the lazarus list but they suggested to send it to the FPC list instead in order to possibly get better answers... On Sun, 20 Mar 2011 10:04:28 -0500, Bo…
- Free Pascal 2.4.4 RC1 available4
We have placed the first release-candidate of the Free Pascal Compiler version 2.4.4 on our ftp-servers. You can help improve the upcoming 2.4.4 release by downloading…
- FPC 2.4.2 i386 MacOS: Inc broken for Int64's1
my app uses the built-in Inc function to add Int64 variables. Unfortunately, they are treated as UInt32, so the values are truncated as 32 bit values. Wow! That is an…
- Re: com port using prolific driver5
John, any unit that will talk to a "standard" COM port should work - when you plug in the cable, it should enumerate as a COM port - I do this with an FTDI adapter board…
- Converting code from C++ to FP....10
I have a bunch of C++ files containing math processing functions, which I need to convert to pascal. But I have never programmed C++ (only ANSI C some 15 years ago) and I
- double dispatch4
Can FPC deal with double-dispatch ? Say you have an object defined as : Type TMyObject = Class Public Procedure DoSomething(Const aObject : TObject); Virtual; End;…
- (Unix) serial port handling11
Can anybody say whether there is a good reason that serial.pp lacks a function to read the CD signal? Is SerFlush, which calls fpfsync, intended to discard input data,…
- Type of file mode variable5
In the file \lazarus\fpc\2.4.3\source\rtl\inc\systemh.inc I found the following definitions: { file input modes } fmClosed = $D7B0; fmInput = $D7B1; fmOutput = $D7B2;…
- upgrading fpc rpm removes fpc.cfg2
I just installed on a fresh Linux Fedora 14 the fpc rpm via yum, which installed fpc 2.4.0. Then I downloaded from www.freepascal.org the rpm for fpc 2.4.2 and installed…
- Thank you FPC team, Lazarus team and all the community0
I wrote my first ("real" or "in production") job using FPC and Lazarus, after more than 10 year working with Delphi. An installer to an old application that no have…
- Function to know if WIN is 32 or 6426
Is there some function to know if the Windows is 32 or 64? Marcos Douglas
- macros2
Some day I saw an example using "macros" on the code. I want to put the compiler version in an "about form"... I remember something like %fpcversion%...…
- Consumer producer unit (donation to fcl)2
i have implemented a small consumer x producer unit (ie: threads that produce or consume tobjects) it is thread safe (based around a tthreadsafequeue with signalling -…
- Actor Model implementation in Pascal5
This is my attempt at implementing an actor model in freepascal http://code.google.com/p/pascal-actor-model/ This is an very early code. Any help is appreciated. Every…
- The FPC's LDAP binding support0
I found the LDAP binding support of openldap in the FPC's package directory. I have two questions regarding it: 1. How up to date is the binding ? 2. I could not find…
- wiki page confusion with Ordinal to Word conversion2
http://wiki.freepascal.org/User_Changes_2.4.0#Byte.2FWord.2FLong.2FQwordbool_types Based on this wiki description, If a value of Ord(True) is assigned to say a Word…
- TThread.Resume6
TThread.Resume is marked deprecated. Where is the comment or documentation what to use now? Mattias
- Converting 32bit intel asm to Pascal or 64bit at&t asm5
I'm trying to convert the following 32bit asm to pascal so it's portable. Also to 64bit asm. It's from ACS audio component suite. What am I doing wrong? I tested my…
- Converting .m4a to .wav3
Hi, does anyone knows if there's a library/class/function to handle .m4a (IPhone sound files)? also, if it allows conversion to other formats, such as .wav? Leonardo M.…
- Mutithreaded book0
I am developing an application that should scale well into those multicore CPUs that we have today, so, basically, i have to use threads. Anybody knows a good book about…
- constref question4
The parameter passing mode "constref" ensures that something is passed as reference and never as value, so my question is using something like this: type pmyrec=^myrec;…
- Read-only global references11
Where a unit exports an instance of an object, what's best practice for making this read-only? I'm referring to the object reference itself here, not properties of the…
- circular reference2
If circular reference not is a good practice (even if to use a implementation section) then I have to put all code, that works together, in the same unit, right? So, I…
- TBlowfishDecryptStream flaw3
i have a problem with TBlowfishDecryptStream : Try lBuffer := TMemoryStream.Create; lSource := (aObject As TMemoryStream); lSource.Seek(0, soFromBeginning); lCypher :=…
- SHA1 of a TMemoryStream2
I need to perform a Hash of data stored at a TMemoryStream... But unfortunately, the following program spits out different results if i run it in sucession... Note that…
- Free Pascal For Android0
http://alexmogurenko.com/blog/programming/android-building-free-pascal-compiler-for-android/ How can I do this on a Mac OS? Thank you! Lennie De Villiers
- FPC - Compile To Android (ARM) On Mac2
Has anyone got this right and wiling to share some knowledge? cheers Lennie
- FPC vs AIR0
was having a look at cross-platform stuff and found:- a guy who doesn't seem to know about freepascal.org…
- Merging r.16418 to FPC 2.4.45
Is it possible to merge rev. 16418 from trunk to FPC 2.4.4? http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&revision=16418 cobines
