fpc-pascal
Subscribe to this list Your subscription
Latest threads
- OLE0
I do: program speech; uses windows,comobj,ActiveX; var voice:OLEVariant; begin CoInitialize(nil); voice:=CreateOLEObject('SAPI.SpVoice'); voice.Speak('Hello',0); end.…
- string in fpc10
I noticed that declaration of variable like: a:string[1]; is not valid any more in fpc-2.0.2, so how can I declare a variable to get few char string instead of full…
- Newbie question#12
When I try to compile my program with: fpc myfile.p This produces no errors and myfile.o appears in my home directory. However, there is no executable file (a.out). Am…
- TProcess execution10
How can I know whether a TProcess failed when trying to execute it ? Running will be false, but I want to distinguish between the file not there / no execution…
- Scripting in FPC34
Hi. I want to embed an interpreter in my Free fpc game to provide an scripting interface. What are the available solutions? I have heard about Nemesis Pascal but i'm not…
- using Crt Functions inside a thread.0
I have a little program working with Crt units without problem. I have change the print way form, I have pushing Crt Commands inen Fifo (GotoXY, ClrScr, ClrEol,…
- Computer Language Shootout - updated to Free Pascal 2.0.25
All the Free Pascal programs on Intel P4 have been re-measured with Free Pascal 2.0.2 Several older benchmarks have been deprecated and replaced.…
- Wiki "why to use pascal"1
http://www.freepascal.org/wiki/index.php/Why_to_use_Pascal "Most of the developing time spent in Pascal is on the program itself. Unlike C and C++ like language, the…
- Error when compiled !!!3
I've compiled free pascal IDE included in the freepascal package but it always say that a file named "sysunixh.inc" not found. Where can I find the file ??? For that…
- DOS find2
I'm having issues with the following 2 lines of code... Exec(GetEnv('COMSPEC'),'/c find "'+paramstr(1)+'" qbslist.txt'); writeln('return code ',lo(DosExitCode)); Even…
- Delphi mode2
Why do I have to use the {$MODE Delphi} directive to compile this, It compiles in TP 6 ------------- Type tFun=function:boolean; Procedure g(f:tFun); Begin if f then…
- FPC game development (was: Pascal on Linux community)2
I have a small domino card game. It was developed on Delphi (7) using my TDominoCard component (http://www.torry.net/quicksearchd.php?String=domino&Title=Yes). I plan to…
- Db2 pascal binding0
Does someone knows open source delphi or pascal bindings to access db2? Any TDataset implementation?. It would be useful since IBM released a free version of this…
- OOT: Pascal (especially FPC) on Linux community14
Hi all... Reading Linux community media (mostly lists and forums), I've seen that Pascal language is still considered as non-serious and toyish programming language. No…
- Build date stamp2
Any way to put a date stamp into a binary that is compiled? I don't see a predefined symbol available. Any ideas or suggestions.
- Using sqldb/firebird2
I'm trying to use firebird through sqldb but i'm having some problems that i don't know if is a bug or i'm missing something. Using fpc 202, sqldb svn, windows XP,…
- IDE-fpc messages0
------------------ Compiler Version 2.0.2 Versio If you are using the crt unit, this could happen. Are you using the crt unit ? Michael. ------------------ i've resolved…
- IDE fp (next)1
the output appears (also in xterm) like that (program hello! ) : _______ Running " miofile" |° Free pascal IDE Version 1.0.6 [2005/12/07] Hello World ! |° Compiler…
- A simple "exception handling" question13
I must not understand a fundamental concept here. Perhaps someone can point me in the right direction. {$mode Delphi} //Delphi or objfpc same results program hextest; //…
- IDE fp2
i've a problem with the output of IDE freepascal ( command fp ). I've linux installed and gnome terminal. I launch the IDE pascal typing the command $ fp, edit my source…
- Null characters in ansistring1
If there is a null character in the middle or somewhere inside an ansistring, this does not affect it's length, correct? Unless casting with pchars in play. Reason I ask…
- Smartlinking4
I have built a Windows cross compiler for ARM It is working fine without smartlinking. When I activate smartlinking I get this error: Free Pascal Compiler version 2.0.2…
- Ansistrings DLL/DSO hack (memory manager)4
Trustmaster sends me this trick/hack (as shown below) to avoid using CMEM in a dll/dso in order to get ansistrings working through a dll/dso. Comments? Find anything…
- RTL Swap function0
Is anyone using the Swap function that is in the RTL, and specifically the version that swaps high/low part of integer/dword sized types and bigger ? Where are you using…
- internal error 2003061849
I am trying to freepascalize Dieter Köhler´s Open XML for Delphi, see http://www.philo.de/xml/. So far, I managed to flat all FPC errors, warnings, and hints. But when…
- option -Fc10
What codepages supported by option "-Fc"? Aleksey Y. Ulasevich (STAKANOV) icq:26493224 http://stakanov.nm.ru
- method pointers28
FPC can´t assign value to address, where Delphi can. For example: TDomNode = class(TDomCustomNode); private ... FUserData : TUtilsWideStringList; FUserDataHandlers :…
- Constants9
Hi I am programming to an embedded ARM platform and my question is, is it possible to force constants to stay in the code segment (constant strings etc.) In C you can do…
- Altivec unit?1
Hello: Just ask if there is any ppcaltivec unit for freepascal, like mmx. If not i'll may convert the c ones from gcc so i can use the freevec lib under pascal. And a…
- FreePascal in a FreeBSD5
I'm trying compile a project using FreePascal (2.0.2 [2005/11/17] for i386) in a FreeBSD 4.1. I can compile this project in Delphi (in a Windows) and Kylix (in a Debian),
