fpc-pascal · 2003-09
- /usr/bin/ld: cannot find -lgd errorr4
I've noticed that in many of the example programs that come with FreePascal, trying to compile them results in an link error where ld claims it cannot find a particular…
- Problems with ipengl unit7
Hello I successfully compiled the glutdemo programexample delivered with the source of the opengl units. But if I try to run the executable I get the following error…
- several questions12
The answer to my "runtime error 6" (invalid filename) ended up being I had too many files open (apparently). I couldn't find anything invalid about the filename (it was…
- getopts0
I'm trying to use the unit getopts, but something goes wrong. In a program I get extrange results if I insert a non-option between two options. In the example program of…
- Mac compiler0
I have a friend with a Mac who I want to share some programs with, but there doesn't appear to be any mention of the Mac compiler on the download page. I've seen the Mac…
- Graph3 unit0
I found a ported Graph3 unit was contributed from here: http://www.nl.freepascal.org/lists/fpc-announce/2002-February/000184.html But, I can't find this unit anywhere in…
- building a command string4
The previous compiler I used didn't have Exec or a way to get parameters, so I am currently fooling around with these new toys (needless to say, my old programs were…
- XP=extreme pain in the butt4
Is there a win32 binary install kit for Lazarus? I see hints that Lazarus runs on Win32 but the download folders for Win32 are empty. (Apologies if I'm not supposed to…
- INET-Unit: Testing existence of a domain?5
Hi! I want to test inside my program if a domain does exist. I am not interested in the particular domain entries, only in its existence. For that I tried the following,…
- Nonblocking socket - end of socket5
I use non-blocking socket (after initialization i used the fcntl function). Accept does not waiting for client connection, so i need not use threads, I can make it in…
- CGI and inet Units3
Greetings all: I am new to this list, and have a question. I have searched the list archives for the answer, but found only dead links :-(( I went to the FPC site, and…
- Linux USB?2
Hello, guys, I am working on a project to control a MatrixOrbital LCD panel and keyboard from FPC and I got it working great with a serial interface, but what about a…
- fork with forked program8
I want to use fork to make multithread application for sockets and I would like to fork it to run in dameon mode. Can I fork the forked program? With call fork I get 0…
- CardinalToStr1
Has FPC functions for the cardinal type like IntToStr? The snippet below produces quiet understandably -2147483647 instead of 2147483649. program hasCardinalToStr; const…
- CR / CRLF problem when redirecting to file6
In Linux, when redirecting FPC output to a file, I found that after 25 lines, CR characters are being added, as if in DOS: program TestCR; uses CRT; var i: integer; begin
- CGI: cgiapp.pp and ezcgi.pp possible bug12
I'm reposting this question as I would like to find some answers to this problem, or writing this particular kind of CGI App will be impossible. (Forum). I think there…
- EOF function3
The following (attached) is a programming problem I've implemented. Now I know the way I've done the EOF test is not correct, otherwise it would not crash with a runtime…
- BIOS PnP function far call (go32v2)4
under GO32V2 i want to call BIOS PnP function with entry point db $FF,$1E; dw PnP_EntryPoint or call DWord ptr [PnP_EntryPoint] but always i got error "SIGSEGV -…
- .NET14
What about compiling for .NET? It is planned feature? Lukas Gebauer. E-mail: http://www.ararat.cz/synapse/ - Ararat Synapse - TCP/IP Lib.
- Can't find unit DRIVERS2
Hi all. Just downloaded the 1.0.10 package and tried to compile the ide. I had quite a few problems: 1) in packages/ two directories seem to be in the wrong directory.…
- No source file named ...1
Hi again Yet another problem - this one seems more or less erratic, though I haven't found a cause yet. Sometimes it works, sometimes not. When in gdb, I get: (gdb) br…
- make files5
Hi all Can someone give me a simple example of a makefile suitable for just simple compiling of one file ? I am so used to running FPC from the command line that make…
- Read from command line5
In the old TP there just to be a way to read a string from the command line at the same time you invoked the program thus doing: myprogram param1 param2 made those two…
- cgiapp.pp and ezcgi.pp possible bug0
I think there might be a possible bug in both ezcgi.pp and cgiapp.pp If you try and post a piece of form data: ie: <textarea> </textarea> it will hang in an infinite…
- SDL Library0
What's the reccomended SDL library to use with FPC ? With FPC 1.0.6 I used to use SDL4Freepascal-1.2.0.0.tar.gz by Daniel F Moisset ... Are there any further updates to…
- Hex chars1
I am trying to write to a serial LCD device on /dev/ttys0 and I need to pass hex codes to it. According to the documentation, in C is done like this: putch(0xfe);…
- thread3
From: Dancso Andras Subject: thread Question: How can I start a new thread from FreePascal under Win32? Thank you very much for your help. Dancso Andras
- IPC Question1
I wrote 2 programs which are using the IPC queue. Now I have a problem, that often the the queue cannot be opened. I did some tests and cannot find out where the problem…
- use of funct identifier in funct body3
Consider two implementations of the same function: Implementation 1 (the old way): function num_listing (n : word) : ansistring; var i : word; num : string; result :…
- Fooled :-) website www.freepascal.org really closed down?0
"Software patent on the principle of optimising compilers" I browsed through the "claims" section - and I would say that this "patent" could be true for ANY compiler,…
- About order of units...19
Ok, still messing with this silly problem... Now the question is about order of declaration in units... Lets say I wrote a unit "WinFix" with some of these cursed range…
