fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Free Pascal Foundation Roles and Goals1
funds to support the FPC and Lazarus development. In the future, the foundation will play another roles like e.g., coordinate and manage FPC and Lazarus projects? Best…
- Compatibility of very similar generic types3
Consider this: TSubClass1 = class(TSomeClass)...; TSubClass2 = class(TSomeClass)...; TSubClass1Vector = specialize TVector<TSubClass1>; TSubClass2Vector = specialize…
- Delegate Interface class does not seem to be referenced counted13
I'm using fpc 3.0.0 and trying to debug a program using COM interfaces. While reference counting seems to be working fine, there is one exception, that is when an…
- rtl-generics: TIStringComparer.Ordinal -> Access violation9
Just try it: var list: TDictionary<string, string>; begin list := TDictionary<string, string>.Create(TIStringComparer.Ordinal); Error: An unhandled exception occurred at…
- windows graph unit questions2
I have a few questions about using the graph unit with windows. 1. Is there any way to get rid of the bar at the top that says 'graph window application' I…
- Does FPC supports the `delayed` directive?4
Firstly, a quot from Dr.Bob's site: The basic idea of the solution is the fact that the DLL will not be loaded The main idea is the similar to the traditional dynamic…
- overloaded property index9
I'm still using fpc 2.6.4 (but I tested what I'm saying below with fpc 3.0.0 too). I need to overload the type of the index of an indexed property, e.g. function…
- rtl-generics: Suggestion and question3
I've spend some time adapting my beta project to use the new rtl-generics classes, however, I have some issues regarding to TDictionary class. Let's go to a test using…
- Are the TEncoding singletons thread-safe?14
I've used the useful singletons available in the TEncoding class, and I don't get any problem with them, unless using threads. I have an application that does many tests…
- Google Calendar API and unsupported exception0
I am again here with questions about Google API. I am currently creating a console application for testing. Because it doesn't work, I tried to compile a fresh FPC trunk…
- Does Free Vision support utf8 on unix?5
Does Free Vision support utf8 on unix? This example builds fine on Linux but the second messagebox shows weird symbols: program TestFV; uses App, MsgBox; type TMyAPP =…
- Google API on Windows1
Do I absolutely need the OpenSSL library if I want to use Google API under Windows? I am asking just in case there is something native I am not aware of. I would like to…
- TArray.Sort<string>(array) returns 'Error: Identifier not found "TArray" '5
First, thanks a lot for the rtl-generics units, this really was a great contribution to the Free Pascal community! So, sometimes, I need to sort the values of a…
- Variant record consistency5
Given a declaration const topDataQword= 29; topNameChar= 231; type Tfnord= record case boolean of false: (data: array[0..topDataQword] of qword); true: (name:…
- Google API, OAuth2 and Windows1
I want to use Google Calendar API with FPC 3.0.0 under Windows. I grabbed necessary units from SVN, because it seems to me that they are not available under FPC 3.0.0…
- RTF writer1
Hi List. I am looking for at component that can write RTF format, preferably like the TRichMemo: http://wiki.lazarus.freepascal.org/RichMemo but without the need for LCL.
- FPC 3.0 and FPC 2.6 on Ubuntu. How to change default version?4
Need to have both FPC versions, 2.6 for all old projects (a lot) and 3.0 for new ones (only one for now). Installed 3.0 from debs (2.6 is also from deb packages). While…
- {$FINITEFLOAT OFF}0
does we have in FPC something like Delphi {$FINITEFLOAT OFF} ? If not can be implemented in future ? I am trying to avoid FPU exception in case of underflow or overflow…
- String concatenation failure (again)3
I just came accross another issue of string concatenation within my program that worked okay before FPC 3 but fails after updating to FPC 3. I had not used this function…
- New Arc attempt2
Just came across this on my fb timeline: https://pascal.today/2016/08/01/arc-for-non-managed-types/ would be interesting for gc lovers. WARNING: the given code there…
- logging fcl-db (sql) actions1
I've done a little program with fcl-db's sqlite connection. I sometimes have the feeling I miss edits. Does fcl-db have something to log all sql actions (like sql logger…
- Lazarus cannot debug after Raspbian upgrade1
I just upgraded my Raspberry Pi3 from the March to the May version of Raspbian using the dist-upgrade command and then rebooted. Now Lazarus has problems with running…
- The end of Gmane2
Sorry if this has been mentioned earlier here already, or if it is considered off-topic (and if so, will not do it again). But I think it is relevant and of interest to…
- Weird string behavior36
Hello: I'm working on windows XP, FPC 3.0.0 from stable Lazarus 1.6. I've come across this issue: When I concatenate two strings in UTF8 they are converted to ansi…
- Re: GPIO for pi5
Op 27-07-16 om 15:52 schreef Bo Berglund: I have following files on the pi : /usr/lib/libpigpio.so /usr/lib/libpigpiod_if2.so Do you have these ? I'm running the latest…
- Test for valid ip address6
I need a way to test if an string containing an ipv4-address is really an ipv4-address. I tried tmpAddress:=HostAddrToStr(StrToHostAddr(IPAddressStr));…
- Could Not Set Breakpoint - Why not?0
I can't seem to set any breakpoints at all with FreePascal 3.0.0 with the text IDE. Does anyone have any idea why this could be? I have even tried to set a breakpoint…
- Microsecond Delay Suggestions?14
Any Suggestions for a microsecond delay? I had a scheme in my old dos program where I would run a massive loop at the beginning of my program and time it with DOS 55mS…
- x64 compiler and Large Address Aware flag1
We are using FPC (2.6.0) here to allow compiling our users ideas into runable code and while this has worked just fine until now, on one occasion we have reached a…
- EBusError0
An unhandled exception occured at $08113310 : EBusError : Bus error or misaligned data access $08113310 $08052EF3 $08078A3E $080540B0 $08054D96 $080551D1 $08055915 Is it…
