fpc-pascal · 2007-09
- debug problems in current versions.0
Hi, current 2.2.1 (r8667) and 2.3.1 (r8675) produce apps with gdb problems (at least under x86_32), this happen since r8666. gdb fpdoc GNU gdb 6.6-debian Copyright (C)…
- more questions on storage20
having this definition: {$mode objfpc} {$longstrings on} type cmpstr = record ID: integer; Name: string; Value: single; end; var buf: array [0..MAX] of cmpstr; How does…
- Audio development and /dev/dsp2
I have a weird problem when I'm trying to use /dev/dsp using Alsa-oss. The first time I'm accessing /dev/dsp, the device works properly, and I have sound inside,…
- fpc 2.2.0 win32_arm-linux cross-compiler issue3
I have downloaded the freepascal 2.2.0 fpc source code ( fpcbuild-2.2.0.zip) and attempted to create a arm-linux cross-compiler that runs under win32. I have done this…
- defining record at runtime4
would it be possible to set up a memory structure according to fpc's aligning rules that will be accepted as a record typed variable? Or does fpc create some…
- FPU Configuration inside a library1
i posted this already under a differnt subject, but didn't get a feedback. A .dll written in fpc changes the configuration of the FPU (FPUCW). This might cause a strange…
- lmysqlclient not found again while compile in fedora 75
I have just update my fpc to v2.2.0 under fedora 7. But error occured while compile program that uses mysql4, "lmysqlclient not found". Even after make…
- problem with threads and backgrounding, fpc 2.1.3 arm native12
[I'm not sure if this should go here or fpc-devel] I'm quite impressed by the native arm compiler that I grabbed here…
- Compiler 2.20 for Arm7
I have tested the 2.20 compiler for Arm. It looks good, a problem I had with threads has disappeared, but (there is always a but) now I have another problem. The bindery…
- Re: memory allocation of dynamic array5
Currently this is not done, but you should not assume that this behaviour is intentional. If the compiler people decide to change the implementation (for instance for…
- type Ta = 1..10; var a : Ta; // a not initialized = crash3
The following program compiled with free pascal 1.0.8 crashes: type Ta = 1..10; Tb = 1..5; var a : Ta; b : Tb; begin // a := 1; // uncommenting these lines leads to…
- JSON implementation0
For those that need JSON support (JavaScript Object Notation), I committed a hopefully complete implementation to packages/fcl-json. It contains demo programs and a…
- destructor TDecompressionStream.Destroy question2
from fpc/packages/fcl-base/src/inc/zstream.pp I'm not really sure why this is in the destructor for tdecompressionstream. if FZRec.avail_in 0 then…
- FPUCW in a .dll0
a .dll written in fpc changes the FPUCW when it is loaded. I think, that this is the wrong behavior, because it should be the task of the loading program to setup the…
- Compiling a program for openwrt?2
I received a message from a user that's trying to use my program with openwrt. I provide a binary for arm that I compiled natively on my lspro and he cannot run it. I…
- Win64, ppcrossx64 and resource compiler not found0
Trying to compile Win64 app with resources I got: Error: resource compiler not found, switching to external mode I have: {$R appver.res} In my source, and appver.res was…
- InterlockedCompareExchange64 and Win640
I have compiled multithreaded Windows/Linux console app (server) with FPC for Win32/Linux and ppcrossx64.exe for Win64. It compiled, but when I try to execute it I got:…
- Client/Server file transfer3
I'm needing to create two programs, a client and a server that will take a file via command line parameter, compress, encrypt and send it from one computer to another…
- When is TComponent.Loaded called?2
As the subject says. When is TComponent.Loaded called? I'm trying to use it in fpGUI to initialize a few things in a component, but Loaded never seems to execute.…
- Support Interfaces4
I'm new to the multi-OS programming environment and wondered if there was some documentation on the different interface mechanisms used in FPC?…
- why is there no port property in sqldb?5
One of the most basic paramater for database connection: port, is not provided in sqlDB. While dialect property which is not common outside FB/IB is provided. Is there…
- sqldb query error on group by with where clause5
This query... select k_province, k_city, k_school, count(file_id), sum(amt_student) from upload_log where (date(upload_time)='2007-09-14') group by k_province, k_city…
- Resourcestring questions1
FPCs resourcestring feature is a great way to localize applications, yet I have the following questions. 1. The tutorial at…
- fpGUI (a Free Pascal GUI Library) version 0.5 has been released0
fpGUI version 0.5 has been released. This is the first release since the rewrite. A lot has been improved and added. For one, fpGUI now has it's own GUI Designer. Loads…
- Halt() bypassed try..finally block3
Is that correct behavior? When calling Halt() somewhere inside a try..finally block, it _doesn't_ execute the finally code. In fpGUI I used Halt() to terminate the…
- What does this warning mean?3
"drawing.pp(19,42) Warning: Constructing a class "TFPImageCanvas" with abstract methods". Thanks! jk Jilani KHALDI http://jkhaldi.oltrelinux.com
- Declare a standalone procedure of object (TNotifyEvent)1
I'm trying to declare a standalone function (not attached to a class) to use as a TNotifyEvent. I tried procedure FooBar of object; begin end; Without sucess. Is it…
- Creating JPEG graphics on the fly3
I am using FPC-2.2 and PWU (http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Powerful-Web-Utilities) for web development on Linux (Slackware). I need to create some JPEG…
- MSEide+MSEgui version 1.4 for FreePascal 2.20
MSEide+MSEgui version 1.4 for FPC 2.2 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 Please send questions and bug reports to:…
- FPC 2.2.0 for DOS3
Can someone tell me what needs to be done to have FPC 2.2.0 for DOS? Andreas
- Freepascal 2.2.0 released10
The Free Pascal Compiler team is pleased to announce the release of FPC 2.2.0! An overview of most changes is available below, but some highlights are: * Architectures:…
- handing over array of pchars to C program3
has anyone managed to build in a pascal program what in C is a char *strings[] and use it from C? In pascal terms this is a single dimensional array aka vector of PChar.…
- Pascals unit for associate arrays?2
Is there any unit, or built in functionality, to do the equivalent of perl's associate arrays or Python's dictionaries? What I am trying todo is to parse some lines and…
- FPC 2.2 article made it onto OSNews.com0
Nicely done Joost! http://www4.osnews.com/story/18592/Cross-Platform_Development_with_Free_Pascal_2.2.0 ... or a shorter link: http://tinyurl.com/ywzyvr - Graeme -
- ANN: fpGUI now features a Visual Form Designer2
The fpGUI component library is coming on very nicely. Most used components have been implement. A few things like a Color Dialog or Calendar component is still missing,…
- Underscore prefix for external C functions3
I am trying to find out whether or not to use an underscore prefix when declaring external C functions in FPC using 'external name xxx'. It looks like on Windows the…
- fpc verbosity5
Is the following correct? C:\FPC\rtl>fpc -v0 myproject.pp Free Pascal Compiler version 2.3.1 [2007/08/22] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Shouldn't…
- How to compile IDE for Windows platform2
I have the sources of FPC/Laz up and running on linux, and now I want to compile them on windows. Do I need to download the sources again, or is there a platform…
- simple sound implementation13
I've read in the docs for the crt-unit that the procedure "sound()" does not work on windows. Since I'm searching for a portable way of playing simple tones (frequency &…
