fpc-pascal
Subscribe to this list Your subscription
Latest threads
- PPUMove usage, follow-up: it works on Linux.2
This is a follow-up message on yesterday's about making shared libraries with units, using the ppumove tool. Trying the ppumove procedure on an Ubuntu platform works…
- how to use ppumove to create a shared library from units?0
I'm trying to use ppumove as described in the documentation to create a shared library from a set of FPC units. This is different from creating a DLL by specifying the…
- question about FPC heap and threading5
These are very simple questions, but I just want to make sure a few of my assumptions are correct: 1. The default FPC heap manager uses one heap per thread, right? I am…
- fpdoc <link> tag syntax question2
I read the fpdoc documentation, and think I understand it correctly, but would just like to confirm. For fpGUI's class documentation, it uses a single 'fpgui' package in…
- Extended, Currency and TDateTime memory layout9
I am interfacing with a server written in Delphi via network and it sends over data. The server sends some data types, and among the hardest ones to read are Currency…
- Bug: FPC doesn't perform variable substitution in #INCLUDE-preprocessors0
Since the bug reporting system keeps rejecting my login, I'm posting here about this bug. I want to have per-project configuration files yet still let the global one…
- Ideas for namespace implementation41
As I stated in another thread, namespaces are not perfect, but they do work, and they do greatly reduce the chances for unitname or classname conflicts. Other languages…
- Property Tags7
Hello ! I'm writing a ActiveRecord system for Freepascal (Something similar to what RubyOnRails do), and i am having some problems (I'm not following MVC logic, more of…
- FPC 2.5.1 cannot override a virtual method in fpdoc?6
I'm trying to apply my final changes to the new Linear IPF writer for fpdoc. I updated to the latest FPC 2.5.1 today. Did a make clean and build the whole FPC 2.5.1 for…
- textmode ide configuration4
quick question: where does the textmode IDE store its configuration? It seems I have messed up something but I cant find any configuration at the obvious places where I…
- Something like g_object_get() in Pascal?5
Hello! I have a record containing a set of variables. This record should now be accessed from an application developed in C (through a shared library). Because Pascal…
- TObjectList works; TFPObjectList gives memory leaks3
Still working on my file indexer: http://bitbucket.org/jb/flocate/changeset/6c6fa90e632e Each search for files creates a TObjectList descendant (TDirectoryEntryList, see…
- Help to create a Makefile to build a shared library on Linux2
Can you help me creating a Makefile to replace this ugly "build.sh" script ? # cat build.sh #!/usr/bin/env bash PROJECT=nepudf UIB_ROOT=../uib/source MACHINE_TYPE=`uname…
- Two questions about Pascal3
Two "simple" questions. 1) Is there any way in Pascal to write something like this (pseudocode): With Result:=Object.Create() do begin Free; end; Which will be written…
- Method pointer to a static method of an object?2
I want to make a reference to a static method of an object, but keep getting error messages. ================================================================ program…
- Licensing issue: Subclassing4
There was a question raised in Russian FPC forum about whether LCL license (modified LGPL) should be applied to a subclass of LCL class: TMyButton = class(TButton) This…
- installing or using multiple versions of FPC on linux4
Currently I have the latest svn of FPC installed (make install) which results in all files being installed where they belong, the binary being in the search path and…
- package keyword2
Hm, this may be one silly question... but I couldn't find docs on it, I hadn't come accross it before... A file that should compile can start with: 'unit xxx;' 'program…
- questions mark linux and windows2
I wrote this program. var c,d: char; Begin c:=#$00B1; Writeln(byte(c)); Writeln(c); d:=#$0080; Writeln(byte(d)); Writeln(d); End. When I compile on Linux, the variable…
- A check before setting a property (or the cost of a call instruction)1
In Lazarus i just committed the following code: if Alignment FDataLink.Field.Alignment then Alignment := FDataLink.Field.Alignment; but i could do also: Alignment :=…
- How choose units names?9
How choose units names? I was thinking what are the best names to my units to not to conflict with the units of the FPC, Lazarus, and others frameworks or libs. e.g.…
- How to set a CORBA interface property (tkInterfaceRaw) through RTTI1
I've managed to set a COM interface property (tkInterface) through RTTI using SetInterfaceProp. But i could not find a way to set a CORBA interface property…
- Module or Plugin or similar howto implement?7
Hello all: I'm developing an app and need to extend its functionality via external modules or plugins. Currently i'm trying to do it using dll/so but don't know if there…
- Extending an enumeration5
If I have a class with a property Phase: TrrPhase where TrrPhase is an enumeration such as (rrQuiescent, rrInitialised), is there an elegant way of extending the…
- Initialize the object (not class)2
I have used object to make more easy, not need to create or free it, MyObject = object private FProp1: integer; public Prop1: integer read FProp1 write FProp1 procedure…
- redirecting stdout8
is it possible to redirect stdout so that everytime I call writeln() the output is sent to a function that accepts a string instead of stdout? I have googled for some…
- How to get address of MyFunction in MyFunction?5
to get address of function I can use @MyFunction, but if I use it within MyFunction - I get address of Result. How can I get address of current function? (It's not for…
- fpweb tutorial17
Does anyone know where I can find documentation or a tutorial about fpweb? Also, is the version included in FPC 2.4.0 very old and I should really use the FPC SVN code…
- "class" methods for objects7
while converting bullet physic code to native fpc, i would find it handy to have something like "class" methods for objects. (Methods without self pointer) (It would…
- gdb Segmentation Fault - $D- does not help?1
I am still struggling with the Segmentation Fault that gdb produces when loading my app's symbols on Mac OS X. I inserted $D- at the top of a few hundred units, but the…
