fpc-pascal · 2009-04
- Halting program without mem leaks2
I need to make a program exited with an exit code other than 0, but without mem leaks. Currently, Halt seems to return control to calling program (or OS) without freeing…
- sockets client server programming2
Exists there a simple example for nonblocking client server programming which can be used in linux and windows? With fpsocket, fpbind, fpconnect, ... Rainer
- EABI problems with FPC17
I tried to create an Hello World program in OpenMoko (after creating arm fpc). When I try to compile it, ld gives the following error message: /usr/bin/ld: ERROR: Source…
- mailing list archive0
Here is a strange one... http://lists.freepascal.org/lists/fpc-pascal/ The first item in the list is date March 2025. Can anybody clean this up by deleting that post? -…
- fpGUI Toolkit source repository migrated to Git16
As of 2 days ago, I have converted the SubVersion repository to Git. repository. To checkout (clone) the fpGUI git repository you can do the following using the git…
- Can I define a custom "simple" type for my applications?12
I need a "new" boolean type in my applications that support three values. True, False and Null. Null value means undefined and has various uses and gets handled…
- LTR or RTL info from users locale settings?3
Does the RTL have any why to notify me if the users locale is LeftToRight or RightToLeft? I'm porting the MiG Layout Manager from Java to Free Pascal for use with fpGUI…
- Re: A real programmers website6
Maybe we finally stumbled on Neo. There could even be a white rabbit somewhere hidden in the site :-) Michael.
- Re: Case Sensitivity / Multiple Names5
--- Ahh, OK. Yes, I've run into that problem myself. The one I remember was where I was using the MacOSAll unit which defined a random function which then hid the…
- Trying to cross compile to arm-linux and have the following error message: Makefile:186: *** The Makefile doesn't support target x86_64-linux, please run fpcmake first. Stop.5
I'm trying to create a cross compile to arm-linux. I made the following execution: fpcmake -Tarm-linux -v FPCMake Version 2.0.0 [2009/02/20] Processing Makefile.fpc…
- Generating code form xmi files24
Do you know if some code allready exist to generate Pascal code form xmi files ? Best regards Philippe
- Case Sensitivity2
It may help newcomers like myself if this was mentioned on the ref document. Just double checked and it does not mention this. --- Interestingly, I was going over the…
- Syntax problem with first unit9
Trying my first unit and getting an error I can't figure out. --- unit unit debugprint; Interface function DebugPrint(ProgLevel, CallLevel:integer; MessageIn:…
- PasJS: Ext-Core v3 as the RTL0
Especially who is interesting in web programming. I saw yesterday Ext released their first beta for Ext-Core. I think it's the best candidate to be used as default RTL…
- Remove unused functions in a class6
If a virtual method of a class is not used at all in the programm will the compiler remove it from the executable ? I think that unused constants and functions will be…
- Memory Size6
I need the available memory (heap). At that time the functions maxavail or memavail did this. I read that I should use GetFPCHeapStatus and other function currently.…
- Constructors & Destructors 10110
I am a little bit unclear about certain things on class constructors and destructors. From what I read in the language reference guide (chapter 6) and runtime utilities…
- Compiler raise an EAbort exception4
I'm using FPC from Arch Liunx. I'm trying to do the following code: ... TNumberValidationRecord = record Name : String; CreditType :…
- Best method for code reuse?7
What are my options for code reuse? Creating units for common code? Any other method?
- Re: Sample unit code6
What is not clear ? Look in the 'Contributed units' section of the website (on the right, in section 'Coding'). There are lots of units there. Michael.
- Contributed units section1
I am finding many contributed units with broken links to both the code and the homepage URL. A few thoughts. We could clean all entries to which both the code and the…
- "Generics" Red Black Tree for fpc4
due to interest i post here our generic version of a red black tree implementation. A R/B tree is a quite fast directory datastructure which allows o(log n) access times.
- Re: Constructors & Destructors 1010
--- And one of the features of FreeAndNil is to zero the reference BEFORE deallocating the memory which I assume would be problematic to do "inside" the instance in…
- ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal4
Today I have released a new product for Delphi and Freepascal - wxForms for Delphi. This is a Pascal wrapper for wxWidgets and a Form designer for Delphi. For more…
- AW: ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal1
Von: Guru Kathiresan Gesendet: Do 02.04.2009 08:46 An: ; Betreff: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal congrats!…
- oCRT and ncurses in openSuSE 11.0 (32-Bit)5
I wanted to port an old program from fpc 1.0.4 (SuSE 7.0) -> fpc 2.0.4 (openSuSE 11.0, 32-bit). My program uses ken wright's oCRT, and I have a version which was…
- Interface reference counting2
Just to be sure, when using an interface from COM, can I just ignore it and the compiler will release it when it's scope ends, or do I need to manually set the variable…
- TList: newbie question1
I never used TList before, so I'm not sure if this is correct. I constructed a TlcTextCache class that basically stores objects of type TLcText in a TList. A TlcText…
- Re: modifying system.pp's InstallSignals0
I wasn't aware of that, and that would actually get me a lot closer to what I'm trying to do. However, it seems to not work correctly when it comes to the signal…
- locale solution for unix systems41
[....moved the conversation from Lazarus mailing list....] I'm pretty sure rpm must have a way to query it by giving the file and asking what package it belongs to. I…
