fpc-pascal
Subscribe to this list Your subscription
Latest threads
- DefaultFormatSettings usage7
I'm using this configuration: initialization DefaultFormatSettings.DateSeparator := '-'; DefaultFormatSettings.TimeSeparator := ':';…
- Linux / timestamps: vdso_[getttimeofday(),clock_gettime(),time(); ] coming our way?0
foreword: please forgive if this is too low-level etc or if I don't understand it enough ;) Since I'm glancing over lkml sometimes, I couldn't help but notice an…
- overload question (variant vs enum subrange)1
TFoo1 is a sub range of FFoo And it seems to match both TFoo and variant. No other type seems to be bothered by variant. Also variant is the only type, that I found…
- Does RTTI offer any method parameter information?3
In a situation where PPropInfo^.PropType^.Kind=tkMethod does RTTI enable you to determine the number and/or types of the parameters that method uses (if any)? If not, is…
- MSEide+MSEgui 3.2, beginner course1
MSEide+MSEgui version 3.2 has been released: http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/3.2/ There is also a new programming course for beginners:…
- TThread.Suspend7
First question: is Start an accurate replacement for Resume, or can it only be used to start a thread created in the suspended state? Second question: now that Suspend…
- 4
- c structs and pascal interfaces2
I want to use c "interfaces" exposed as structs in fpc as interfaces. In particular I'm converting the OpenSLES header file to fpc. Here's an example of an exported…
- FPCUnit and threads1
FPCUnit has support for threads test? If yes, do you have an example? Marcos Douglas
- ExtractStrings skips empty string parts?7
Conforms issue #16043: "ExtractStrings in the Classes unit skips over empty text. For example: "AAA,BBB,,CCC" is converted to: "AAA" "BBB" "CCC" I was expecting: "AAA"…
- Does TBufDataSet support Blob or memo field?6
I created a TMemoField in TBufDataSet but no matter I do: 1) Field.asString := 'some value' or 2) Field.LoadFromStream(someStream). Afterwards, this F.AsString always…
- Formating JSON outputs2
JSON is a very easy format to handle with Freepascal. However, the output is not so readable when the number of registers increase. An example of it is: program test;…
- best method: multiple three state options in a decision tree13
what is the best method of coding a decision tree with options that have three states and all options are additive? clarification: i have a situation with 5 (at this…
- Memory leak on TFPGInterfacedObjectList2
Hello list. Whenever I add interfaced objects to a TFPGInterfacedObjectList, those objects apparently add two references, while release only one when the list is cleaned…
- Pure FPC ?15
Hello. Does it exist a option to compile fpc without Delphi compatibility ? If no, what do you think about that ? I know, it will be lot of work (like create a…
- [ARM-Android] Safe values for -Cp and -Cf0
In case I would like to have at least 2011 devices as minimum targets, what are the safe values for them? Are -CpARMv6 -CfSOFT enough? Or either could be made better?…
- 0
- how to pass a procedure address and execute it?11
i'm trying to use one routine (centralControl) to process data from two different routines (inputThis and outputThat)... the one routine (centralControl) needs to call…
- FPC trunk missing include file due to recent httpd24 change?1
Got this compiling trunk in fpcup: [1] Perhaps a forgotten file in commit r26573 michael * Patch from Dennis (Bug ID 25534) to add some APR functions to the interface…
- [PATCH] TUploadedFile: some improvements0
Please see in: http://bugs.freepascal.org/view.php?id=25583 Thank you! Silvio Clécio My public projects - github.com/silvioprog
- Strange message about mixed signed expression10
I always wondered why I get a compiler message for the following code snipped: ---------------------------------------------------------------------------- function…
- Include trunk fpcres location in fpc.cfg paths?2
I'm trying to get fpcup to natively compile FPC trunk+Lazarus on ARMHF and finally getting somewhere.... In the Lazarus part however I get lazbuild.lpr(1689) Error:…
- Winsock problems on trunk: rtl-extra?2
FPC trunk x86, windows. Warning: fiddling newb alert. I have a unit httpclient that apparently uses winsock2: 3rdparty\httpclient.pas(0,0) Fatal: Can not find unit…
- Adding files to a tar file3
This code should add all the files of a directory in a tar file. program e01; {$mode objfpc}{$H+} uses libtar, sysutils; var archive: TTarWriter; search: TSearchRec;…
- Can Delphi load a small function of a shared lib written in Free Pascal 2.6.2?6
On Windows, I'm trying to serialize an object to JSON in Delphi 7, using FPC functions linked in a shared lib. I'm sendind a small demo in attached. To test it is very…
- Optimisation : X+X or 2*X or X*2 ?8
The multiplication in floating arthmetic units is usualy know as being slower than the addition. So, have I interest to code X+X, 2*X or X*2 when using reals (mainly…
- [fcl-web] [fphttpserver] what should pathinfo contain?0
I recently has a problem with Brook where every request except default fails and when I debug, I see that pathinfo always has the same content as host. Is this correct?…
- CPPClass Documentation?4
This morning, I saw on fpc-devel a message titled `CPPClass`, which made me wonder if this keyword means what its name implies. Sadly though, there is not much…
- windows.GetProcAddress() vs DynLibs.GetProcAddress()59
Hello. I have a external dll. In Windows i can access perfectly the procedures with GetProcAddress() if i use Windows unit. If i use DynLibs unit, prog crash when i try…
- DecimalSeparator automatic change ?2
I have strange problem, I have application on Windows 2012 Server, where is set locale to Slovak (DecimalSeparator is comma) In my application in DataModuleCreate I…
