fpc-pascal · 2012-02
- How to detect an any property change in object?1
I have some class with propertys: type TMyClass = class private FProperty1: Boolean; FProperty2: String; procedure SetProperty2(AValue: String); procedure ClassChanged;…
- Alternative to generic advanced records2
Ok, advanced records in 2.6.0 are it seems buggy as hell (with optimizations on), so I'm searching for an alternative. For the simple case objects work quite well, but…
- Problem using make install in Windows4
In Windows I am executing: PATH=F:\Programas\lazarus31_fpc26\fpc\2.6.1\bin\i386-win32 make all make install INSTALL_PREFIX=F:\Programas\fpcsvn\dest\ pause And it will…
- Too tired? Forcedirectories does not seem to work19
Busy porting FPCUP to Linux... think it's time to quit for the day.... This code: OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory); debugln('todo: debug:…
- inline function vs recursive function4
Let's say I have a function that some of it's code (or all) can be used in more then one location inside the function itself. I can make a nested function with the code…
- Why is Free Pascal a blacklisted package on linux distro?4
I just read this story about Parabola (yet another linux distro). It believes that everything must be free and open source. Thus no binary ATI or nVidia drivers, no JDK,…
- Free! Partly done zipper documentation... heads up for people wanting to work on it0
I've noticed at least one effort to document the zipper unit on a mailing list, bugtracker, forum or website. To find out how FPC/Lazarus documentation worked, I had…
- How to use pam?5
I need to authenticate user name and password under Linux. These are normal accounts so I guess "libpam" is the weapon of choice. But I can't find any pam binding in the…
- FPC docs wrong for TStream.WriteBuffer()9
I'm I just not reading/understanding this correctly, or is it indeed a documentation bug (in which case I'll file a bug report with a patch).…
- libjpeg, libjpeg-turbo - pascal bindings1
Has anyone ever met libjpeg or libjpeg-turbo (by IJG) pascal bindings (for dynamic libraries)? The most commonly used PasJPEG doesn't meet the requirements. If there's…
- TStringStream.DataString returns garbage?16
What am I doing wrong in the following code? It always fails on test number 2. The DataString property is returning garbage, and not the value equal to the 'Graeme…
- lNet and TCP packet length3
I'm working on a client/server project which involves sending SQL commands from server to client and vice versa. I've been using the LTCP component for both the client…
- fpc 2.6 32 & 64bit difference0
What has been changed in 2.6 in enumeration size. I have many enumerated where it is enough to use single byte. 32bit lnx compiler uses single byte but 64 bit lnx double…
- Synapse: SSH client+cryptlib+private key4
I've been fiddling with connecting to an SSH server. Thanks to Ludo Brands' help I can use username/password with Synapse (stable)+cryptlib. I'm fiddling and trying to…
- replace one field of a record in a collection...4
i've gone brain dead after a few days at my $$$ job and i cannot figure out how to replace one field of a record in a collection :/ i'm looking at my existing code that…
- Help!!16
Right now i've been trying to build a mysql server using pascal, but i don't know where to begin. Can anyone help me? View this message in context:…
- make rpm0
When doing "make rpm NOGDB=1 NODOCS=1" in fpcbuild/trunk I get a lot of unpackaged files under OpenSuse 12.1. In other words: it fails to build. Are there some docs…
- How to enable -XX via code?2
How to enable -XX (Link Smart) via directive? Silvio Clécio ==================================== Site - <silvioprog.com.br> LazSolutions -…
- FPC make all: as.exe not found unless in path11
Tinkering with my bootstrap SVN updater/installer. Directory layout: c:\development\binutils: as.exe, make.exe etc Got these from…
- libQT4Pas - Why it is needed?29
I am wondering. If I build application for linux using gtk2 widgetset for GNOME (or XFCE etc.) and send this program to my friend, then he can run it without any…
- FormatDatetime is not respecting the specified pattern5
A strange error came up when formating a date. See this code: writeln(formatdatetime('dd/mm/YYYY', now)); The answer should be: 31/01/2012 The answer was: 31-01-2012 I…
