fpc-pascal · 2011-02
- Building kernel modules using fpc (for fun)26
http://wiki.freepascal.org/linux/kernel/module_development has some information, unfortunately after copy-pasting into relevant files, and running make i get fpc…
- Standard exceptions8
while porting software from .NET to FreePascal I am looking for some exceptions for recurrent errors. For example: ArgumentException, ArgumentNullException,…
- fpc and armv5-android2
Is there anyone on this list who uses fpc with android under windows and the android emulator(armv5) without problems(e.g. basic functionality at least like sysutils,…
- interested in building a library for functions?10
This is a call for people willing to relieve me in the task of maintaining a library for parsing, evaluating and differentiating real functions with almost optimal speed…
- Passing objects to libraries and back9
I want to add plugin suport to an network app i am developing, the easiest way of doing this is passing the internal objects as parameters to funcions inside libraries…
- MSEide+MSEgui rev. 2.60
MSEide+MSEgui version 2.6 has been released. http://developer.berlios.de/project/showfiles.php?group_id=11520 Martin
- Embedded web server33
Hello, could you please send me information about the web server? link is broken... Thanks Leonardo M. Ramé Wrote *>*modules, in fact I whant to *>*create my own web…
- Sharing dynamic arrays between threads4
Is it safe to create a dynamic array with setlength() in one thread and free the array using finalize() in another thread?
- assign code to a method13
While waiting for a 64 bits Delphi, I am doing experimentation with fpc-Lazarus 64 bits. And this is my problem: In most of my programs I use my own library for parsing…
- Context of TThread.OnTerminate3
The manual (possibly Delphi one) says that TThread.OnTerminate executes in the GUI thread. This is easy if the GUI thread owns the TThread. Suppose the GUI owns a…
- Ansistrings under Android4
Now that I have a working fpc crosscompiler for Android, and all the code runs ok, I encountered another problem. Namely working with ansistrings causes crashes. For…
- IXP4352
Does the ARM port of freepascal compile to the XScale IXP435/Linux archtecture ? I want to write some small network apps for the Yanomami Routerboard, that is based on…
- Assembling (pipe) /Users/{standard input}:2540:suffix or operands invalid for `cmovns'1
I was trying to compile my project with FPC rev16967 on Mac OS X 10.5. CONST NoChartData ='No data for chart.'; ... TextRect (R, x, y, NoChartData, TR); ... Compiling…
- SysLocale usage6
I found out that the SysLocale is only initialized on Windows. Should it be used on other OS, or is it a Windows specific variable ? Ido LINESIP - Opening the source for…
- Error: Can't take the address of constant expressions1
I have this code: type TMyObj = class private MyPWord:PWord; ... end; procedure TMyObj.Some; begin ... Inc (Cardinal (MyPWord), 2); ... end; and compiler says %subj%…
- help with synapse mime routines...20
i'm trying to work with the synapse mime library but am running into a bit of a problem... i'm an old procedural type coder from the TP3 to TP6 days... it has been a…
- Fingerprinting operation of a program7
I need to trace through a program, running on two different systems which might or might not have the same OS, in order to find out where it's failing. Before I start…
- Name of the programming language used in/with FPC24
What is the programming language used in and with the Free Pascal Compiler? * Object Pascal * Delphi * Free Pascal * Pascal I would have thought the first option [Object…
- Handling recursive symlinks in Linux2
I'm trying to convert a Delphi console-mode program which needs to walk directory trees to FP **and Linux** - is there a standard way to detect and handle recursive…
- Android calling JNI functions crash5
Under Android I've tried running my native programs which works great. However, If I try to call any of the JNI functions as received with env (PJNIEnv, as the first…
- Javascript in Desktop Applications9
Over at stackoverflow someone asked<http://stackoverflow.com/questions/4913178/javascript-in-delphi-applications>, "Is it possible to utilize javascript in the making of…
- html scrapping library6
Does anyone know of FPC/Object Pascal in Linux an HTML scrapping library ? I wish to create a small application for my cell phone (N900) and wanted to use FPC+Lazarus…
- Synaser on ARM2
Hi a short howto for all trying to use the serial port on ARM Linux After fighting several hours i was able to cross-compile for ARM (OMAP 3 Gumstix Overo) Most helpful…
- Unit initialization on Android library3
I've got a library which runs on Android, and is loaded by a Java program. The INITIALIZATION sections of units do not seem to be called, is there a way to do this…
- processing quote-printable text...2
i am processing an email message that is saved to a text file... currently my processing only locates the content type, plain/text or multipart... if multipart, then we…
- fpdoc (fpc 2.4.2)2
I'm currently working on a translator from SNMP MIB files to Pascal, and on a whim decided to see how well they documented. Two questions if I may. i) fpdoc appears to…
- AnsiString setlength and getmem.0
(* Program One *) {$codepage utf8} {$Mode objfpc} Uses math,sysutils; Var cad:ansistring; c,n:longword; Begin c:=2**30; // 1 GiB n:=4; // with 3 & 4 at fpc…
- tiOPF: which version to take?2
Currently tiOPF svn contains tiOPF2 and tiOPF3, which one is recommended for use? Is tiOPF3 stable enough? View this message in context:…
- openvpn client that written in fpc2
I'm not sure if it's an OT or not, so sorry if it is. I'm looking for an openvpn client that written in Pascal and is open source, and I could compile it to work on…
- String and dynamic array initialisation4
Are there any cases where a string variable will be allocated with anything other than zero length, or a dynamic array will be allocated with anything other than zero…
- Is LNET dead?3
Based on the LNET website [http://lnet.wordpress.com/usage/dependencies-system-requirements/] it seems that LNet is pretty much abandoned software. It still references…
- Classes and class methods7
Is it possible to put a class (not an instance) in a variable or array element, and to use this to call a class method? I'm defining a hierarchy of classes and it would…
- array of ?1
What is the meaning of: __pad1 : array[1..4-sizeof(mode_t)]; ? See unit ipc.pp line 114. Mattias
- wkhtmltopdf - trying use h2pas...9
I'm trying to use h2pas in wkhtmltopdf's headers... but I'm found many erros. Could you help me to translate the headers to use in Pascal? Command: h2pas…
- Correct use of var in function calls?13
I am a bit confused over the way to specify parameters to function calls as var or not.... I have the following constructs: type TByteArr = array of byte; I have a…
- Pre-initialising a TStringList5
Given one or more lines of text which are known at compilation time, and without the requirement to internationalize (these are, by RFC, US ASCII), what is the best way…
- trunk/packages/libxml/src/xmlxsdparser.pas1
Browsing recent changes in compiler I saw that xmlxsdparser has been updated with some timezone functions conversion. This conversions seems wrong to me as they are…
- Libnodave on linux9
Hello Is there anybody who has compilled the libnodave testprogram "TestISO_TCP.PAS" under linux. If yes could you tell what version of fpc and what options etc. you have
- Connection reset by peer http://svn.freepascal.org2
I've recently started to have the subject's error message on every attempt to use the svn for update or to access the svn using a web browser. Is there a known issue…
- Installing fpc 2.5.1 from svn1
Hi ! How can i download and install fpc 2.5.1 from svn in my ubuntu 10.04 x86_64 ? Thanks
- dynamic array and new/dispose18
I am writing an application on iMac, and having problem dynamically creating objects and reading them into an array: // I got the following object: PChunk = ^Chunk;…
- New multicast event implementation10
Hello all. I implemented a new type of multicast events in Delphi based on generics. I thought someone could maybe consider and convert this implementation to Free…
- Memory leak or object destruction?3
I am curious as to how FPC handles the following situations: var MyObj: TsomeObject; begin MyObj := TsomeObject.Create; // do some processing MyObj := NIL; end; Will…
- if you really want to know who write a really good code read-it0
unit D_fleche; {written by denis bertin in a day for www.denisdraw.com with delphi-7} interface uses windows,whelp,wbase,col_plan,dialbase,messages; type…
- Internal error 2006012201 while cross compiling14
Hello I'm building an app from win64 to linux64. The compilation fires an Internal error 2006012201. Any idea ? Regards Julien
- TThread.Synchronize doesn't work in DLL3
I have form and thread in DLL. It seems that Synchronize() doesn't work. Thread is hanging on first Synchronize(). It works only when I open form in ShowModal. I debug…
- A question about sets performance3
I'm trying to optimize my CSV parser class, and facing with a bit unexpected results. I tried to change in-place set declaration (if ch in [a, b, c] then ...) to…
- Win32 Application Query.2
Hi guys I've been working on a application to application communications protocol via named pipes. the basic idea would be for Application A to change a Component…
