fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Variable argument list for cdecl functions1
Hi How do one access the array of const members for a function declared as cdecl? Eg. function A(args: array of const): integer;cdecl; I get a warning that cdecl'ared…
- Availability of RawByteString1
we need to use RawByteString with FreePascal and I saw it's implemented in cpstrnew which is in progress. Do you know when this branch will be integrated into a fpc…
- android share library with classes unit7
I managed to compile and run the library for android on emulator, which I compile the project just a libhellojni.so compile using paramater like this ppcarm -Scghi -O1…
- generic, specialize keywords in mode delphi in FPC trunk8
Hello. Following program: program a; {$mode delphi} type generic TGen<T> = class end; TSpc = specialize TGen<Integer>; begin end. compiles with FPC 2.4.2, but not with…
- TMenu - barbreak Delphi Compatbility.5
Guys. In Delphi you can set the break to barbreak to break the menu in half , whats the best way ( if possible to do this in lazarus ) ? Delphian
- Inherit interface from 2 interfaces11
Can i do that? type IIntf3 = interface(IIntf11, IIntf2) .... end; Thanks in advance. Zaher Dirkey
- Delphi 2010 code crashing in Lazarus (0.9.30, Win32)1
I have a DLL that was compiled using Delphi 2010 (or Delphi XE, not sure which...), and this DLL uses PWideString in a bunch of it's interfaces. I have some code that…
- Is there a problem on the lazarus mailing list?6
Sorry for the off-topic, but I sent a message yesterday to the lazarus mailing list and it hasn't appeared. In fact there aren't new messages since last Sunday. Does…
- Strange arm-linux cross-compilation errors2
In this thread: http://www.lazarus.freepascal.org/index.php/topic,12585.0.html I though that maybe posting here would help, since the user has some problems with some…
- Problems with GetMem4
ZeelandNet Webmail I get strange errors when using GetMem. In my app I keep on allocating and freeing memory in a variable. At a certain moment I do keep getting a…
- Parsing commandline parameters with wildcards on Linux8
I ran into a problem with resolving commandline parameters, due to wildcard expansion by bash. Consider the following code: for i := 1 to paramcount do writeln(i,':…
- Problems with an FPC server1
The server hosting the FPC mailing lists, ftp site, wiki and community site has crashed badly yesterday. Almost everything has been restored from backup in the mean…
- Compiling android example2
http://wiki.lazarus.freepascal.org/Android_Interface/Native_Android_GUI I've downloaded the example of the android application, done the following: A. Installed…
- "is" for class references2
Is there an equivalent to "is" for class references? type CNodeContent= class of TNodeContent; procedure walkContent(node: CNodeContent); begin…
- When compiling with gdb and dwarf code works, no gdb and dwarf, segfault0
I have this weird problem, that when I compile my code (FPC 2.5.1) with debug information (gdb, dwarf) my code works properly. When I remove the debug information,…
- TFPImageCanvas TextOut raise an exception3
When I try to do the following: Canvas.TextOut(5, WhereY, Text); to an image, I get the exception of PixelCanvasException with the message of Not Available. How can I…
- 0
- Creating windows cross arm-linux ppcarm compiler.4
How do I build windows ppcarm cross arm-linux fpc? Amit
- regex unit and word boundaries2
Does the Regex unit included with FCL support word boundaries? eg: the \b tag as used by some other regex libraries. If the Regex unit does support it, what syntax must…
- utf8bidi and freebidi in rtl2
Is there a reason why both units are not deployed by FPC ? Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il
- Library for network calculations2
Is there an fpc library for TCP/IP network calculations, like computing subnets, broadcast address etc. Frank Church =======================…
- A warning when Blockwriting/reading dynamic array pointers9
I just wanted to post a warning for everybody who wants to (block)write/read dynamic arrays to/from file. All the documentation about dynamic arrays I found only told me…
- TIniFile crash/memory loss14
When you use TIniFile with CacheUpdates := true, then when you free the TIniFile an error can occur if the component was unable to update the changes (in UpdateFile),…
- Generics in Delphi mode?5
Hi. I just found out today that generics also work in Free Pascal (and as I understand it, it was even implemented before it was added in delphi :) ). However, the way…
- Lazarus 0.9.30 released2
The Lazarus team is glad to announce the 0.9.30 release. This release is based on fpc 2.4.2. This release is available for download at the SourceForge download page:…
- calling object pascal object function in c/c++3
I am working on calling object pascal functions from c/c++. I notice that when a unit is compiled into object code, the name of a function is altered in this convention:
- TDOMElement and multiple attributes9
I want to create a node with multiple attributes. It works by using SetAttribute multiple times but it looks like I cannot specify the order in which the attributes…
- Associate initializer value with array item type1
Hello. Let's say I have a type: TClothingType = (ctJacket, ctPants, ctShirt); and I want to associate it with color: var Colors: array[TClothingType] = (clRed, clBlue,…
- SAX XML example0
There is on wiki nice tutorial about XML, but I can't find any example how to use units SAX and SAX_XML. I have very big XML and I must read it partially. Regards.
- Looking for a suitable graphics library/component5
I am seeking for some advice regarding what graphics library to use for a new project. I am aware that the application can be done by drawing lines, points and text…
