fpc-pascal · 2009-08
- An example to compress all files in a directory?1
I cannot find the documentation of Zipper so I ask you an example to compress all files in a directory using this unit. Luca
- TMultiReadExclusiveWriteSynchronizer is wrongly implemented8
The current TMultiReadExclusiveWriteSynchronizer as implemented in FPC 2.3.1 is wrong. It use Critical Sections in a standard way which means it blocks all other threads…
- SSH connection with cryptlib, error -320
I have a program that connects to (cisco) network switches with telnet. It uses Ararat Synapse for the network part. Now some switches were changed to a secure SSH…
- Re: TFPColor vs TColor0
I am working on something similar so I found this mail. Here is my solution, maybe someone can use it: TDNAColor = packed record case Integer of 0: ( b : Byte; //blue g…
- fpc on Armel issues23
Hi At revision 13589. Got a full build of FPC with :- /usr/local/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -XP/armbin/arm-none-linux-gnueabi-…
- Why is cthreads unit not included by default30
I first asked this question in the Lazarus mailing list, but was told it may be more appropriate here. When you create a new project in Lazarus, the default uses clause…
- FPC Mac OS X 10.6 compatibility0
Adriaan Van Os tested FPC under Mac OS X 10.6 and found out that it generally works fine. There's only one known issue at this time: * when compiling dynamic libraries…
- Unable to generate HTML reference documentation2
I have checked out the latest fpc documentation repository into /opt/fpcdoc_svn/ directory. My FPC 2.3.1 source is checked out to /opt/fpc_2.3.1/src I then try and…
- Parsing XML from MS SQL webservice using fpc7
Hi The following URL gives me a XML output in any browser , after validating username and password:- http://"Some IP…
- WinCE: Detect if a PDA is connected to a LAN WI-FI peer-to-pear0
Hi 1. Is it possible to detect if a PDA is connected (wi-fi) to a peer-to-peer LAN (by IP or Device name)? If yes, how? maybe by a ping? is there a programmatic ping…
- fpGui git not working?5
I ever download the fpGui source using git. but now I can't connect the server.
- Crosscompiled ARM program crashes with segfault2
I have the problem that a bit more complex programs just crash with segfault. Simpler programs work. I had a lot of problems to get things done, and perhaps I did…
- Does Anybody Know how to REALLY kill an App on Pocket Pc?11
Hi I have done a lot of research but couldn't find a solution. I have an app that runs on a PDA and takes (must take) the whole screen. When the user presses the…
- Object properties (note: object not class)2
Is the absence of properties on Objects an omission by design or simply because no-one has gotten to it yet? Similarly case statements as they appear in records are not…
- packages: lazarus vs. fpc4
if a Makefile.fpc is generated by lazarus from a lazarus package (.lpi file), would this Makefile.fpc be sufficient for integrating the package into the fpc package tree…
- *.lpi files in FPC 'compiler' directory2
What is the use of the <fpc>/compiler/*.lpi files? Is that another way of building a new compiler version using Lazarus IDE (instead of 'make' from the command line? -…
- 32bit & 64bit FPC 2.4 install recommendations0
Previously I only ever used the 32bit compiler and had my setup as follows: /opt/fpc -> fpc_2.2.5 symlink /fpc_2.2.5 /bin /lib /src -> source code from svn…
- Porting Delphi ASM code to FPC8
I have ported the DUnit2 testing framework from Delphi to FPC. DUnit2 works perfectly under 32bit FPC, but I am getting a compiler error when trying to compile DUnit2…
- What's the difference between fpc224 and fpc231?5
I just download the newest Lazarus which has a newer fpc compiler 2.31version, but I can't find the "what's new" document, then What's the difference between fpc224 and…
- Bugfix in the TCustomApplication class1
Hello. The following patch fixes a bug in the TCustomApplication class. Against fixes_2_2, sorry. Joao Morais ==================== @@ -411,7 +411,7 @@ end else // Short…
- 3
- Status of fpc on Nokia n8109
Recently, the price of Nokia n810 dropped significantly and i got some interest in it, but before i buy i'd like to know if, currently, is possible to compile programs…
- Status of SipShowIM (software keyboard)?0
Hi In the wicki Wince Ptogramming tips (http://wiki.freepascal.org/WinCE_Programming_Tips#Show.2FHide_SIP_Panel) I find: Show/Hide SIP Panel SIP: Software Input Panel…
- FPCONNECT NOT WORKING?4
I am using lnet (non visual) with Lazarus, and in the connect process, lnet calls fpConnect(FHandle, psockaddr(@FAddress), SizeOf(FAddress)); fpconnect is a FreePascal…
- Switch Endian2
there's a pascal function to switch endian (for a 32 bit integer)? Note that it should work on 64 bit systems...
- fpsocket error10
In application which i compiled for arm-linux platform, an error occurs when calling fpsocket. Why fpsocket call can cause the error? Thanks. __________ Information from…
- How to install SPComm in lazarus?2
SPComm is a delphi Component for serial port communication,I tried to install it in lazarus,after i install it,i cannot see the icon in component pannel,i dont know…
- how to simulate abstract properties7
I'm searching for a way to have the compiler handle properties declared inside an abstract base class as if they were methods. With a declaration like this: TBase = class
- About Lazarus Program size1
Lazarus generated exe file size is so large,Can it make small size program file?
- Website connectivity2
In the past, some people reported problems connecting to the main FPC website or the main SVN repository. Typical symptoms were empty HTML pages, but pinging to the…
- Using Lazarus as a Simple IDE1
I would like to use Lazarus as a simple IDE with input/output from/to a "dos" box (like the old FreePascal IDE). My code compiles and runs with Lazarus/FreePascal but a…
- Byte array manipulation4
I have a lot of byte arrays which contains mostly text but also #0. I am looking for functions to manipulate these arrays. The stuff in strutils are mainly what I need…
- COM automation1
hi, i am very interested in using COM automation. off course it's a windows thing, and i havent been able to find anything like that already implemented for the fpc... i…
- TFileStream.SetSize sometimes fails11
I want to replace the content of an existing file (keeping the type and rights). I used: fs := TFileStream.Create(Filename, fmOpenWrite or fmShareDenyNone); fs.Size := 0;
- TItimerSpec1
I am trying to port a delphi source code to FPC on a 64 bit system. In the delphi code there's a TITimerSpec variable declaration. I found it in: fgrep -R -i…
- Set of encoding conversion routines7
Does anyone know if there is a set of encoding conversion routines? If there isn't, how should we add one? New directory in fpc/packages? I just needed UTF-8 to Latin 1…
- 2.3.1 rev 13498 breaks synapse1
For anyone who cares to know: revision 13498 of 2.3.1 breaks synapse (apparently unless you have "legacysocket" defined, see…
- Dynamic loading shared libraries7
Am I right, that with fpc it is only possible to write bindings for dynamically loading shared libraries (using LoadLibrary) the hard way? Meaning declare function like:…
- TFPCHeapStatus miscalculations in 2.3.12
I haven't logged a bug because I haven't yet figured out the steps to exactly reproduce this, but I've been seeing something strange since I've started using 2.3.1. I…
- Case insensitive comparison of strings with non-ascii characters23
I'm trying to fix bug http://bugs.freepascal.org/view.php?id=14135 but could not get a way to do case insensitive comparison of UTF8 strings with non ascii characters…
- 2
- SqlDB connection speed to Firebird vs PostgreSQL6
I'm using SqlDB (via tiOPF framework) in our applications. Our software has a lot of db and non-db unit tests. When I run a section of our db unit tests via SqlDB +…
- Description of compiler message translation0
Soon or later fpc 2.4.0 will be released so it would be nice to have updated translations of the compiler message files. So if anybody volounteers to update the message…
- Compliments to FPC developers!1
Hi, I want to compliment with the FPC development team for its excellent job. I was a long time Turbo Pascal/Borland Pascal/Delphi programmer and I am absolutely…
- Stack problem in externally called callback function7
I am trying to use a shared lib written in C in my FPC program. The lib creates a number of threads and requires callbacks into the main app. It can call the callback…
- More WideString routines3
those available for ansistrings. At the moment I need a widestring replacement for StrPos. I searched for WideStrPos in my FPC 2.2.2 but nothing came. Any ideas? And if…
- DB unit and Parameter Binding with Variants2
I am very pleased with the core features of the DB components and more specially the SQL components. Many thanks for your efforts. Development of these components for…
