fpc-pascal · 2009-12
- 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…
- Dynamic Array Length17
const data : array[ 1..{leave open} ] of byte = ( 11 , 12 , 13 ); datalen = sizeof( data ) div data[ 1 ]; Would this possible in a way? In C it is possible. Now I have…
- OT: Happy new year4
Sorry for the offtopic, but I wish you all happy new year. I hope that in 2010 we'll see Pascal, FPC and Lazarus become more main stream. Have a great new year and 2010,…
- RE: Possibly a dumb question.... (Jennifer Usher)12
I am about a week ahead of you with Lazarus, and I struggled with that error too. It seems you must save the project once before you can compile it. After the first…
- Forum merger59
I've noticed that few people use the FPC Forum and questions often stay months without answer. I would answer more questions, but monitoring 2 forums is too much work.…
- Possibly a dumb question....3
I used to program in Delphi about 10 years ago. I just discovered Lazarus and I have been trying to compile a simple test program and I keep getting the following…
- OpenCL7
Speaking with a friend about parallel programming he told me something about OpenCL as been the "future" of massively parallel computing, mainly because of the standards…
- mixin feature5
I'm now studying Qooxdoo (JS framework) to make ExtPascal-like tool based on it. Qooxdoo's OO implementation has mixin feature (http://en.wikipedia.org/wiki/Mixin ).…
- midlet pascal and fpc31
I just knew recently that Midlet Pascal went open source, through FPC wiki. Quite a good news, IMO. Since it's now open source, is it possible to start working on java…
- Forum Merge Fwd: Examples - First contact ;-)0
The first contact on new Forum for New Forum! ;-) ---------- Forwarded message ---------- From: Wanderlan Date: 2009/12/22 Subject: Examples To: forpas Ext JS Web forum…
- Forum merger 22
(google translate) Why not start? We did not start because it is not interesting or because can not be done? After all, is it possible to do a good job for the web in…
- tstream files cross-platform ?1
how do you make a saved tstream cross-platform? for instance write.ansistring writes the length as a binary word in native format... which might not be the same native…
- Re: OpenCL (Lourival Mendes)0
I have tried Dmitry's OpenCL interfaces, and they work just fine. I use it on a Mac using Lightweight IDE, and making OpenCL work through it using C or FPC is trivial;…
- Problem compiling DLL for 64Bit Windows - complete example attached6
Hi! I'm having serious troubles compiling a DLL for 64bit Windows. I'm using FPC svn 14444 (Ver 2.5.1) on all machines. I tried on WinXP 32bit (works), Vista 64bit…
- Queue integer values2
I need a queue that can store integer values. Is there any way to use TQueue for this task or does a generic queue class exist which I can use? If both answers are no…
- dll for Win64 - problems porting from win320
Some time ago I wrote a PrintMonitor-DLL for 32bit Windows. Now I tried to port it to win64 using the svn-Version of FPC (did a checkout two days ago) When I check the…
- Missing error-Inforamtions3
When compiling a newly entered program, my Free Pascal does no more indicate me, where there is a error and what kind of a error there is, like "undefined Indiator" or…
- Building SVN on Mac OS X 10.5.8 intel2
Hello FPC-Pascal users discussions! I am not able to build SVN 14295. /Users/test/lazarus/fpcsrc/compiler/ppc386 -XX -CX -Ur -Xs -O2 -n…
- Linking Problems while cross compiling for arm19
I try to crosscompile one of my projects to the arm based USB9263 from Calao Systems (http://www.calao-systems.com/articles.php?lng=en&pg=5932) I get the following…
- remote debugging using gdbserver1
I'm trying to use gdbserver to remotely debug a program written in fpc using the following parameters: $ ppcrossarm -dDEBUG -godwarfsets -godwarfmethodclassprefix -gw2…
- Class Operators0
since my reported "bug" (http://bugs.freepascal.org/view.php?id=15315) seems to turn out to be "by design", a question came up: are there any plans to implement class…
- Make Pascal library usable for C (on Linux)2
Hello! I write C-headers for a library written in Pascal at time, to make it usable within C applications. On Linux, the libtool-program (part of GNU autotools)…
- Events doesn't work in .lpr ?2
i wrote a short test programm, to find out how to use the lnet unit. And now i got some strange compiler messages. (FPC 2.2.2 for i386.) The source Code is very short.…
- Possible bug in return value of MonthsBetween function in unit dateutils5
When trying to get the number of months between the following dates: 01-06-2009 and 01-08-2008 MonthsBetween returns: 9 months. That is clearly wrong (fundamentally…
- GNU GLOBAL Source Code Tag System0
In some of your messages I am reading questions about places of the some Lazarus and/or Free Pascal phrases/names . During installation of OpenSUSE 11.2 yesterday (…
- fpcmake targets and $defines1
Hi, do the standard targets set up by fpcmake come with any defines which allow conditional compilation depending on the target (like extra code to be compiled only when…
- Generate RTF file with UTF-8 encoded data0
I need to create a RTF file from UTF-8 encoded strings. Does someone has an example on how to save UTF-8 strings in a RTF file? Luiz
- Free Pascal created libraries used by other languages12
Is it possible, or is there something special that needs to be done to create a library that could be used by other languages? For example. I'm interested in created a…
- wiki server - dead?3
Is it just me, or is the wiki.freepascal.org server down?
- Using Move() with dynamic arrays -> RunError(0)2
I'm trying to use Move() with dynamic arrays, but don't know why it fails... When instead commented out "for .. do" code I use Move() code my app gets RunError(0) after…
- char in [range]7
I'm using FPC 2.5.1 and I'm trying to do the following: if not (Char in ['a'..'z']) however fpc gives me an error of type mismatch for the "in" directive. Why can't I…
- Help porting DeCAL library4
http://old.nabble.com/file/p26671529/decal-1.zip Here is a FPC conversion of DeCAL library. However, many things still don't work. Please see todo.txt. View this…
- Inconsistency detected by ld.so6
Using the examples from the test suite for an .so and a host program (http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/tests/webtbs/tw12704a.pp?view=markup and…
- Is $fpctarget defined on all targets?2
Hi! I've just started porting an application from Java to FPC (current targets are Win32 and Linux). I can successfully compile and run initial tests on both targets.…
- TIOStream and .Position2
is this intended behavior or it is a bug that iostream.Position always returns -1? In iostream unit I see that there is <...> TIOStream = class(THandleStream) private…
- Preprocessor1
Is there a way to see a preprocessor of what fpc creates rather then the assembly code so I could see how defines and ifdefs executes (when compiling rtl) ? Thanks Ido…
- Setlength2
I have 2 lines of code 1 I allocate memory 2 I read from the screen (Nano-X) and save it in the "BitMapArray". Can I do this or can I not be sure that the memory is in…
- private integer is an illegal counter variable13
If I define a private integer: TDemo = class(TCustomApplication) private i: integer; ... and in a protected method I use it: for i := 0 to List.Count - 1 do ... then I…
- readonly variables43
is it possible to set a variable in a programm as a readonly variable? I would set a variable at a position in the runing programm. Since this time the variable should…
- 5
