fpc-pascal · 2010-11
- Working Free Pascal android JNI example42
I've done a working Free Pascal android JNI example (with working .apk for current ARM-based Android device of the second device generation (because with VFPv3, so…
- Suggestion about ability to pass local procedures as variables3
it appears recently several pieces if knowledge came to me, I understood how anonymous functions (aka closures) work :) and the fact that GNU Pascal allows passing local…
- RE: fpc ide 2.4.20
There is indeed a bug in the text mode IDE. Nevertheless, you should be able to go past that restriction by quitting the IDE after the Impossible to set COLSxLINES…
- Cannot build FPC from SVN3
svn 1645 FE. -FU/Developer/Source/Compilers/FPC/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/fgl.pp fgl.pp(128,38) Error: Generics without specialization…
- Building FPC trunk on XP win647
I'm trying to build FPC trunk version on a XP win64 machine, but the make process just keeps failing. What I did: - download FPC Win64 snapshot…
- bugtracker questions/report (where to send)3
don't know where is the best place to ask about the bugtracker and mantis. Please let me know. I have two questions: - Is everything is ok with "steps to reproduce"…
- Nan values SIGFPE exception on 64 bit2
I encounter a strange difference in the behaviour of NaN values between windows 32 and 64 bit. Have a look at the following program: ----------------------- program…
- SIGTERM problem6
Hello. Help me anybody, please. My program runs on arm-linux system and when it receive SIGTERM i can't handle this signal, program instantly terminate. Can someone…
- Property TComponent.Tag change0
To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer -> PtrInt. The practical upshot from this is that you can…
- make fpc3
What version should fpc display (Revision: 16393). When I get latest and make /usr/bin/fpc is at version 2.4.2. fpc -vut dummy.pas ... Compiler: /usr/lib/fpc/2.4.2/ppc386
- fpc 32 / 64 bit / c++/ floating point question5
While stabilizing my bullet physics port i saw some differences in floating point behaviour between c++ and fpc32 and fpc 64 bit. In question is a simple dot product.…
- Changing var to out in rtl code4
I'm one of those developers who takes hints and warnings seriously and I must say at least once a week it helps me find a bugs even before running the program. So when I…
- Enabling previewer with Gecko in WebDesign package0
I've installed WebDesign package and would like to try its examples to see what I can do with it. I'm facing a problem where I can't see any preview in a TWebPage, it…
- More Win CE23
Does the output from the wince compiler work with specific versions of win CE? This page lists versions 3.0, 4.20 and 5.2 : http://en.wikipedia.org/wiki/Windows_Mobile
- Initialize/Finalize with count, is it possible?5
I just noticed that fpc when compiling in lazarus didn't allow me to use Initialize/Finalize with the parameter showing the number of records to initialize. Interesting,…
- Is System.IOResult thread-safe? (If not, I need to replace it.)8
I'm new on the list. I have a problem. I've been trying to make my application thread-safe by using lockfiles. I used System.Rewrite to lock the file, and…
- visual ActiveX controls on windows0
can someone clarify, what is the status of the usage of visual activex controls with freepascal? regards Henrik
- debugging faulty pointer2
Hello all I have an app I am writing for work, using fpgui and fpc v2.4.2 on Mandriva Linux 2010.1,and it appears to have a problem. If I compile it with -gh and -gc…
- IInterface.QueryInterface, ._AddRef and ._Release definitions have been changed...1
Hi! I read http://wiki.freepascal.org/User_Changes_Trunk#IInterface.QueryInterface.2C_._AddRef_and_._Release_definitions_have_been_changed. What's the stable FPC version…
- Is it posible to implement more than one interface in a class defination?10
For example if there are two Interface : IinterfaceA,IinterfaceB can I implement these two interface in one class? Thanks pingyu
- When do I need a component rather than a plain object?1
Does TObject have all the capabilities of TComponent apart from things like streaming and being used from the IDE component palette? I want to create an object which has…
- Corba Interfaces and IInterface query18
Below is an example of two interfaces I declared. Trying to implement them on a TObject subclass, I got a compiler error that IUnkown was not implemented in my subclass.…
- MSEide+MSEgui rev.2.413
MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing…
- FPC's behavior regarding new TObject methods4
Hello together! I've installed FPC 2.4.2 and after reading the page about the changes since 2.4.0, I've compiled Lazarus and noticed a warning in imglist.pp regarding a…
- Free Pascal 2.4.2 released!0
we have placed a new major release of the Free Pascal Compiler, version 2.4.2 on our ftp-servers. Changes that may break backwards compatibility are documented at:…
- How to use ExtTextOut with Printer.Canvas.Handle on Gtk20
When I use ExtTextOut with Printer.Canvas.Handle then function ends because of not valid DC and nothing is written to Canvas. I know that there os TextOut which works,…
- Unable to compile JSON SuperObject on FPC 2.5.15
I am not able to compile JSON – SuperObject where compiler says this: .../superobject.pas(135,18) Error: No matching implementation for interface method…
- Win CE5
When developing for WinCE, is it possible to compile for DLL's or COM objects? I don't even know if COM objects exist on WinCE, so sorry if that part of the question…
- ZLIB5
For a Webserver I need to create the png graphics format. I want to use as little external components as possible. Has someone experience with the zlib format or…
- "Input Method Kit Framework" header translation in Pascal0
Is there a "*Input Method Kit Framework*" for Mac OsX 10.5 or later (reference here: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/InputMethodKitF…
- linker error when cross compile for arm3
I followed the wiki at: http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM After that, I can compile a hello world program for arm without problem, great!…
- variables in class, class variables and fields8
Following the bug discovered in the class variables (on fpc devel), I actually would like to know the need (or usage) for variables and class variables in a class (I…
- Dynamic array as result of class method?3
I am trying to design a buffer handling class where I want to have a read function, which should return a result in the form of a byte array of varying length. Something…
- Is it posible to get a minimal installation of Lazarus?3
I want to set up Lazarus as FPC Editor and Debuger. But Lazarus installation is too big,How to install a minimal size of Lazarus?
- Problems with "relocation errors"6
I often write shared library (DLL and SO). With DLL I have no serious problems, but with SO I often have "relocation R_X86_64_32S" error. If I use lazarus standard…
- Endian issues when porting FPC programs from x86 to other platforms15
I am writing a serial communications program, which will connect to a data acquisition instrument and download data. I am using FPC/Lazarus in order to make the program…
- GDB1
Hello Can anybody tell me how i can build fpc 2.5.1 with gdb support. I have ubuntu 10.10 with gdb 7.2 binary package installed , when i tried to 'make build' i got…
- TReader.ReadProperty5
i am trying to replace the code from delphi to fpc where the code looks like: TYPE THackReader =class(TReader); ... FReaderStream.Position := 0; {$IFDEF FPC} try…
- IntList13
Hi In Lazarus project jcf2 component has an IntList class which is poorly implemented. It depends on integer and pointer being the same size. I will later suggest to…
- looking for a book - "XLIB Programming Manual Rel.5 Volume One"3
Anybody know where I can purchase this book in paper or eBook format? I emailed O'Reilly Customer Support, and they told me the book is out of print and they don't have…
- ppc386 or ppcx643
Hello Please can you tell me if : ppc386 in intend to be used on a i386 platform and ppcx64 on a 64bits platform regarless the type of app to build or both are intend to…
- Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?5
Hello I'm working on a project which cross compile from win32 to linux64. Today it uses FPC-2.1.5. I need to move to fpc 2.4.0. I downloaded fpc-2.4.0.i386-win32.exe and…
- Text scan in text files - (was: Full text scan - PDF files)24
Ok Guys. I already know how convert PDF files in Text files. To search strings in Text files, which lib in FPC do you recommends? I need speed and the program is a…
- How I can associate a text file name in UTF8?0
How I can associate a text file name in UTF8? Example: Assign (F, 'タスク 01.txt'); Assign (F, 'Задание 01.txt'); Assign (F, '♕ Queen.txt'); thanks
- TPLY20
I recently saw a semi working example of a Java to Delphi converter that was done with javacc. Unfortunately it would only convert simple java (v 1.4 maybe). Can anyone…
- Reading MDB (MS-Access) data under Linux6
I need to write a data conversion app. Has anybody read MDB data under Linux yet, using SqlDB? I saw there was a ODBC database component, and searched by Ubuntu…
- TThread descendant with public events3
What is the rules regarding a TThread descendants and public events. I created a thread that has OnXXX events. These events are triggered in the Execute method of that…
- Changes in fcl-web11
Where do these methods go? protected function TCustWebApplication.WaitForRequest(out ARequest : TRequest; out AResponse : TResponse) : boolean; protected procedure…
