fpc-pascal
Subscribe to this list Your subscription
Latest threads
- TBufDataset broken in fixes_2_25
TBufDataset is broken in latest fixes_2_2. Can be reproduce with following code: var s: TSQLQuery; begin s := TSQLQuery; s.Free; end; Compiling fcl-db with debug info,…
- re-opening stdout and sdterr3
long time ago I had problems with stdxxx being in non-blocking i/o mode. The suggestion was to close and re-open the channels from the system units init code. I ran into…
- upx.exe identified by Avast as a virus in 2.2.2 Go32v2 distribution1
While scanning for viruses on my PC I got a notification from my Avast antivirus scan that upx.exe was a virus. To check, I looked up upx.exe and see that it is an exe…
- dynamic arrays behaving funny3
I'm trying to assing dynamic array variables to a record type on the heap and handing that record over to the caller: type TCompoundInfo = record Id: hid_t; Name: string;
- Web-Server not available2
I can't arrive the URL http://www.freepascal.org since yesterday evening! Is there a problem with the web server? I test it with epiphany, iceweasel, konqueror and wget.…
- Cannot run mplayer with TProcess when options is poUsePipes in Windows7
Following code works in linux, but not in windows. In windows program freeze, or I don't see mplayer. Thanks. program bug; {$mode objfpc}{$H+} uses Classes, SysUtils,…
- debugging version of RTL3
how can I build the RTL and other packages containing debug symbols? Is it sufficient to do sth. like: cd rtl <edit Makefile.fpc setting -gl as compiler option> make…
- Any good Pascal interpreter?2
Better if it supports FPC dialect, too. View this message in context: http://www.nabble.com/Any-good-Pascal-interpreter--tp20336843p20336843.html Sent from the Free…
- Help with understanding HeapTrc output5
Sorry, but I know the output below is going to wrap horribly. I'm self-taught when it comes to understanding the heaptrc output. I also couldn't find clear…
- TObject4
A have a unit (uSafeVar) with an object. The object has a property "data" of the type "SafeVar_typ" If I do this it works (wSafeVar is called) var p:SafeVar_typ; begin…
- PowerPC: zipper streaming error2
Is anyone working on the unit zipper? I came across a problem when using the zip objects on PowerPC - they don't like files zipped on i386, and i386 don't like files…
- a few installation issues (trunc on freebsd)2
I have a few question, regarding my attempts to install fpc from trunc (I read the build faq, yet I have not succeeded...) On a freebsd (7.0) box, I have downloaded and…
- widestring related? problem on arm (2.3.1)3
I'm getting a runtime error 231 when starting program on arm. Stems from ANSI2WIDEMOVE in cwstring.pp returning ESysEBADF (9). Do I need to define something on arm for…
- Advantages page in website5
What happened to the advantages page in the Free Pascal website? It used to be: http://www.freepascal.org/advantage.html I would like to reference it from an article,…
- Interfaces inheritance and "Supports" routine3
I've got a question on how does "Supports" function work. Here is the quote from the FPC docs: Suppose I have the code like this: The following call returns True as…
- cross os symbolic link handling4
is there any function or set of functions for handling symbolic links inside the file system at an os independant level in fpcs libraries? Unix-like systems have soft…
- Question: range checking for string indexing4
Can someone confirm what range checking FreePascal does (if enabled) when indexing a string. I imagine shortstrings and ansistrings are handled differently, but cannot…
- ldap server written in pascal0
Is there some one out there ever write an LDAP server using Pascal (Delphi/FPC/GPC/whatever)? Now I required to write my own LDAP server (as user management system and…
- New object created in custom pool8
My application will create thousands of small objects of the same class, this objects are not created or destroyed in a row, so memory fragmentation could becomes a…
- fpimage glow effect5
How can I create a glow effect around text with fpimage? Mattias
- A cross platform keydown and up0
Is there a way to listen all keys of the keyboard, a la LCL's KeyDown and Up events, on a cross platform way and without the help of a framework (eg LCL)? Afaics…
- helpsystem, some numbers22
This morning I did a bit research after the help files, I hope it sheds some light on the WHY for the recent CHM efforts: html html help package size on…
- Post of release builder or tester0
About this Because of a lack of release builders and testers, 2.2.2 is only available for a limited number of platforms and not in all package formats. If you want to…
- Typed constant2
code snippet from my app: type TLaikoJuosta=record Valanda, Minute: SmallInt; end; const MAX_LAIKO_JUOSTA: TLaikoJuosta=(Valanda: 99; Minute: 59); I want create another…
- Problem with list?0
I usually see messages every day or close to it. Have gone a few days without seeing any... And I think this is the second time it is happening. I am just trying to…
- Delphi / FPC and UTF8 BOM19
Hi, i have some units shared between 2 Project First in Delphi 2007 and the second in Lazarus for Wince for unicode support on WinCE i converted my my files to UTF8, but…
- fpc without short boolean evaluation1
it is possible, to switch off the short boolean evaluation? Normally follow code is possible: ... i:=0; if (i>=0) or (10/i > 1) then {do something}; ... For my academic…
- Record Method and Operators6
Im wondering if FPC Team have plans to support Record Methods/Operators in future versions of FPC I read the actual "Future plans" and the most closed item is "RTL:: More
- fpc assember does not generate short jumps.1
I have an assembler procedure of about a 1500 lines of code. The problem is the jumps are generated with absolute addresses only, even if I explicitly specify "short"…
- using static linking of dylib in mac 10.53
I'm not able to do a static link of a dylib (with the latest lazarus + fpc build). I'm using the following code: function MyDyLibFunction: int; cdecl; external…
