fpc-pascal · 2008-11
- CGI upload app20
Hi I would like to upload a file through a web page. How can I do this using FPC? Is there any example available? Darius
- fpImage resample via interpolation13
As far as I can see, fpImage has for StretchDraw only the TMitchelInterpolation. The current implementation has a few drawbacks: - it creates a temporary image for…
- number of cpu cores12
I need a default value of the number of maximum threads. Is there already some RTL function that can be used for that? For example if the program runs on a 2 x quad core…
- Starting out with Free Pascal4
I'm absolutely new to this list... and to Pascal. I was getting pretty good with Foxpro programming when MS bought and then changed the program, eventually to kill it. …
- How to build 2.2.2-crosscompiler for arm-linux ?3
In the past I built numerous fpc-crosscompilers for arm-linux but now I can't anymore. What I did : Downloaded and extracted fpcbuild-2.2.2.tar.gz make CPU_TARGET=arm…
- SScanf question0
SScanf('123: aaa :456','%d: %s :%d',,@string1,@integer2]); In this situation string1 is aaa. It is correct. SScanf('123: bbb aaa :456','%d: %s :%d',,@string1,@integer2]);
- Xlib bindings2
I'm binding xlib to FPC, and the code can be found at http://code.google.com/p/pasxlibbind/ . I'm using the svn for version control over there. I hope that at the end I…
- Calling FPC internal tools1
Is it possible to call FPC internal assembler and/or linker? View this message in context: http://www.nabble.com/Calling-FPC-internal-tools-tp20728954p20728954.html Sent…
- fpc_write_text_shortstr (case sensitive!)3
Where is it defined? I can only find FPC_WRITE_TEXT_SHORTSTR, pointed by itself and Write_Str. View this message in context:…
- MIDI processing unit0
I'm writing a compiler for my own music programming language producing MIDI files as result. Is there any MIDI processing unit for helping me? Doesn't have to be…
- writing to shared memory1
I have the example code working to write and read string to shared memory. I'd like to write and read other things than strings (integers, Booleans, ...) to the shared…
- TProcess problem0
I'm familiarizing myself with TProcess, so I decided to write a simple routine which executes a command and puts STDOUT/STDERR in a stringlist: -------------------------…
- si_prc.pp or prt0.as(m)?7
Both files define _start symbol. Which one is actually used? Is it possible to use only ptr0.as(m)? View this message in context:…
- Un/De-Format function still exists?2
Result of Format('abc: %d def: %d',[1,2]) is 'abc: 1 def: 20'. It's ok , but I want to do this thing from the other direction. I want to know the integers only and the…
- Linking error using 64bit compiler, but not for 32bit compiler2
When I compile one of my projects I get the following compiler/linking error. Any idea what causes this? If got the exact same FPC 2.2.3 revision for a 32bit system…
- Bootstrapping FPC for x86_646
I setup a new 64bit server in our company, running Ubuntu 8.04 LTS (64bit). I want to us it as a 64bit testbed for our applications. So I want to compile 64bit version…
- Verify if string is a valid number6
I would like to verify if a string is a valid number, as in StrToInt will work when applied to it. The obvious way is making a try statement: try StrToInt(TokenStr);…
- UDF+FREEBSD+FIREBIRD36
library tkes2; {$mode objfpc} {$PACKRECORDS C} function somefn: integer; cdecl; export; begin somefn:= 3; end; exports //I do not do as: // somefn name 'somefn'; //…
- Intel x86 inline assembler problem2
procedure DumpRegs; var Reg: array [0..7] of LongWord; SReg: array [0..5] of Word; EIP: LongWord; EFLAGS : LongWord; begin asm // save registers while they are not…
- How to execute a command line1
I was asking myself how to execute a command line, so I went to use Unix.shell, but now it seams to be deprecated. What should I be using instead? Not TProcess, because…
- NNTP client componens for Free Pascal6
Anybody know of a Free Pascal compatible NNTP client (news reader) component? - Graeme - _______________________________________________ fpGUI - a cross-platform Free…
- Regular expressions4
I'm taking up the challenge in writing a Free Pascal & fpGUI newsgroup reader. The main reason is really to archive the news content for off-line processing, so that I…
- Make FPC closer to hardware7
Would it be a good idea to lower down (again) FPC so that it can be used easier for systems programming? View this message in context:…
- TBufDataset broken in fixes_2_25
TBufDataset is broken in latest fixes_2_2. Can be reproduce with following code: var s: TSQLQuery; begin s := TSQLQuery; s.Free; end; Compiling fcl-db with debug info,…
- re-opening stdout and sdterr3
long time ago I had problems with stdxxx being in non-blocking i/o mode. The suggestion was to close and re-open the channels from the system units init code. I ran into…
- upx.exe identified by Avast as a virus in 2.2.2 Go32v2 distribution1
While scanning for viruses on my PC I got a notification from my Avast antivirus scan that upx.exe was a virus. To check, I looked up upx.exe and see that it is an exe…
- dynamic arrays behaving funny3
I'm trying to assing dynamic array variables to a record type on the heap and handing that record over to the caller: type TCompoundInfo = record Id: hid_t; Name: string;
- Web-Server not available2
I can't arrive the URL http://www.freepascal.org since yesterday evening! Is there a problem with the web server? I test it with epiphany, iceweasel, konqueror and wget.…
- Cannot run mplayer with TProcess when options is poUsePipes in Windows7
Following code works in linux, but not in windows. In windows program freeze, or I don't see mplayer. Thanks. program bug; {$mode objfpc}{$H+} uses Classes, SysUtils,…
- debugging version of RTL3
how can I build the RTL and other packages containing debug symbols? Is it sufficient to do sth. like: cd rtl <edit Makefile.fpc setting -gl as compiler option> make…
- Any good Pascal interpreter?2
Better if it supports FPC dialect, too. View this message in context: http://www.nabble.com/Any-good-Pascal-interpreter--tp20336843p20336843.html Sent from the Free…
- Help with understanding HeapTrc output5
Sorry, but I know the output below is going to wrap horribly. I'm self-taught when it comes to understanding the heaptrc output. I also couldn't find clear…
- TObject4
A have a unit (uSafeVar) with an object. The object has a property "data" of the type "SafeVar_typ" If I do this it works (wSafeVar is called) var p:SafeVar_typ; begin…
- PowerPC: zipper streaming error2
Is anyone working on the unit zipper? I came across a problem when using the zip objects on PowerPC - they don't like files zipped on i386, and i386 don't like files…
- a few installation issues (trunc on freebsd)2
I have a few question, regarding my attempts to install fpc from trunc (I read the build faq, yet I have not succeeded...) On a freebsd (7.0) box, I have downloaded and…
- widestring related? problem on arm (2.3.1)3
I'm getting a runtime error 231 when starting program on arm. Stems from ANSI2WIDEMOVE in cwstring.pp returning ESysEBADF (9). Do I need to define something on arm for…
- Advantages page in website5
What happened to the advantages page in the Free Pascal website? It used to be: http://www.freepascal.org/advantage.html I would like to reference it from an article,…
- Interfaces inheritance and "Supports" routine3
I've got a question on how does "Supports" function work. Here is the quote from the FPC docs: Suppose I have the code like this: The following call returns True as…
- cross os symbolic link handling4
is there any function or set of functions for handling symbolic links inside the file system at an os independant level in fpcs libraries? Unix-like systems have soft…
