fpc-pascal · 2006-08
- 204 Compiler7
I have downloaded the 204 source code and compiled a cross compiler to Arm to run on a Windows PC When compiling some code that has worked with the 202 compiler I get…
- ASM Converting from Turbo Pascal2
in fpc you have to tell the compiler which registers are used in asm code. for example asm mov ax,123 end [eax]; Is it possible to make a compilerswitch that the…
- Ansi strings5
Here is 2 examples of how the fpc compiler dos when comparing a string constant with a pchar . The first is compiled with the 204 compiler and second one is compiled…
- AsciiZ confusion3
Sorry this is a long message, but hard to explain. I have a DLL I wrote in FreePascal 2.0.2, which is communicating between a Delphi program and a PowerBasic Dll, like…
- Merssage [Error](1,1): Unexpected end of file1
I'm reading a file generated by another application, but it very often trigger '[Error](1,1): Unexpected end of file'. I just can't put my finger on the problem. I'm…
- Makefile.fpc issues0
Below is my current Makefile.fpc. I can generate the Makefile and do a "make" and "make install ...", but a few things are not working 100%. Could anybody spare some…
- Release of MSEide+MSEgui rev. 0.9b3
MSEide+MSEgui rev. 0.9b for FPC 2.0.4 is released: http://mypage.bluewin.ch/msegui/ Martin
- fpcmake question3
Is the following allowed in a Makefile.fpc [target] units=unit1 unit2 unit3 dirs_linux=x11 dirs_freebsd=x11 dirs_win32=win32 I have read the docs and know the "dirs" is…
- fpc packages1
Can anybody please explain to me FPC packages? I don't understand them. I read as much as I could from the docs, but still not sure. What I understand from packages,…
- FPC 2.0.4 is out!3
I'm happy to announce that release 2.0.4 is finally out, bringing you lots of fixes and some enhancements over the previous officially released versions. I hope you'll…
- Which ARM cpus are supported?2
the subject tells most of what i want to know: Which exact models of ARM-cores are supported? Since there are several different ones even in the ARM9 area and I'm…
- 2.0.4 for OS/21
the filename on the download page is incorrect. Should be os2204-full.zip but the hyphen is missing. I downloaded successfully using ftp. Thanks.
- Building FPC with gdb support for SPARC26
I think I've worked out how to build fpc and fp 2.0.4 for SPARC starting off from 2.0.0, many thanks in particular to Jonas. The next question, before I try moving the…
- Re: International chars and Codepages...2
I solved the problem, sort of. :-) In your previous post, you had suggested that I might be using FPIDE, and codepage clash between it and Windows would lead to such a…
- International Chars... Codepages...0
My previous post; And Marco's reply... I tried 2.0.4 and 2.1.1 today. No success though. My code is as follows... <Code> program test_turkish; uses crt; const…
- International Characters in Console mode programs...3
I cannot manage to print any Turkish characters in console. (Code Page ISO-8859-9), I use Windows XP Turkish, I can type and display Turkish characters, but if my FP…
- 0
- Fw: Ask about FPC0
From: To: Sent: Sunday, August 27, 2006 7:12 PM Subject: Ask about FPC Hi! I want ask something i use PSP 1.6.0-release, but i don't know where i can find the tutorial,…
- Precision of sqrt, exp, ln, etc?0
I am wondering about the precision of the functions like sqrt, ln, exp, and so on. According to the online documentation, these take a ValReal argument and return a…
- encryption8
Does anyone have a routine with example to encrypt/decrypt text files? Thanks in avance Fabrício F. Kammer
- Hardware5
How can I get hardware informations on windows/linux using FreePascal/Lazarus? I need to get some informations of the hardware, like HD serial number, the amount of…
- operator overloading0
I can't seem to be able to overload the = operator for classes. Every time I try I get the following error: Error: Impossible operator overload I can overload all other…
- Porting TP ASM to FPC ASM3
Hope this is the right place to post.. I'm trying to convert some old Turbo Pascal asm to win32 fpc asm and dont know where to start.. I'm compiling with -Sd and -Twin32…
- sigsegv error using tsqlquery0
Hi! I'm trying develope a database application using tOBDCconnection, tSQLTransaction y tSQLQuery. I have to do several SELECT and UPDATE sentences but in some cases…
- Path library2
I'm testing the synapse library but I've a problem: I need to copy all files of the synapse library together with my project files. How can I set the path on FPC/Lazarus…
- Re: TCP Server13
Do you tried Indy component? I used them in both graphical and console application. It is straight forward. If you need any sample I will be glad Amir
- Free Pascal widget set19
As I mentioned before, I starting working on a Free Pascal widget set not relying on any large GUI libraries like Qt, GTK, etc... It uses Xlib (Linux) and GDI (Windows)…
- Widget Sets, Lazarus, Graeme Project, FPC Win323
Couple Questions Folks ---------------------- 1: Does Lazarus Work well in Win32 yet? 2: Is it difficult to make a GUI that compiles for Linux and Win32 with Lazarus? 3:…
- data driven fpc unit tests2
Suppose I have a component TMyDataProcessor with the following declaration: type TMyDataProcessor = class function process(const s: string) : string; end; Now I want to…
- PascalScript / FPC: parameters problems (need internals gurus I think)7
I hope some have knowledge of PascalScript because I'm having quite a weird and complex problem. I'll demonstrate it here very simply so if some have ideas... *Problem*…
- Installing Indy on Windows XP0
Sorry by the noob doubt, but I can't install the Indy 10.2.0.1 in FreePascal/Lazarus on Windows XP. Are someone here that can help me? Fabrício
- registers used for parameters passing on x86_640
How do I know which parameter is passed in which register on a x86_64 linux platform ? Dominique.
- for n:=0 to1
I have a program like below, and if the control variable (nr) is defined as a byte/word it fails (the count goes from 1..14) But if I use an Integer as control variable…
- Compiling FPC for SPARC53
First, is this the best list to discuss this? I've got rather agressive filtering in my mailing list gateway. If anybody tries to send any attachments etc. to me please…
- 2.1.1 new protected23
Recently the behaviour of the 'protected' keyword has changed in fpc 2.1.1. Now I wonder how can I fix the code, that depends on this. I have some base classes, that…
- Compile error in sources from SVN Rev. 44201
The problem is, missed keyword 'class' in zipper.pp line 368 and 439. Gabor
- minor sysutils question under win320
Why does sysutils use CharUpperBuff() user32.dll function instead of CharUpper(): it does not check the return value? (last 2.1.x SVN) --- By the way: (from MSDN…
- 0
- TPLY1
Some wish. Please change constant "max_elems" in unit tply\LexBase.pas to 1024. Thanks Aleksey Y. Ulasevich (STAKANOV) icq:26493224 http://stakanov.narod.ru
- DOS Timer Interrupt, serial Interrupt6
is there a document or sample code for accessing the timer interrupt and the serial interrupt in DOS mode. Rainer This does not work: program time; uses crt,dos; var…
- crosscompiling from win32 to i386-linux and libc linking5
I have linking problems when cross-compiling from win32 to i386-linux and linking with libc (dynamically). I use FPC 2.0.2, the libs are from a Debian Sarge…
- su (switch user) application5
Does anyone know how to write a program which can change its user privileges on runtime? Like the suexec wrapper of apache? Thanks for help...
- turbo is back!2
$(Subject) : http://www.turboexplorer.com/ Can they make an impact? What do you guys think about it? Krishna First they ignore you, then they laugh at you, then they…
- best way to execute external program1
Hi all... What is the best approach to execute external program from within our own application, monitor the process, get the termination status, in multiplatform way?…
- Re: DLL and Shared Libs in FPC0
[Jason Peter Sage] Thank You Everyone - All your responses were very encouraging. My last attempt at making a DLL was 1.9.? FPC, so hearing definitively that your guys…
- Linker error0
When I am try to link a c obj file together with a fpc program I get this errors ("d" is my program) ld.exe: ERROR: system.o uses hardware FP, whereas d uses software FP…
- RE: MySQL3, MySQL4, and MySql5 - Micha Might have answer9
[Jason Peter Sage] In response to Jes?s Reyes question about where I looked for the MySQL5 unit.... [Jason Peter Sage] I did google search for MySQL5 and Freepascal - and
- Magnifier vs xmag6
I used xmag a lot while coding my new widget set. It's used to make sure I am drawing the widgets correctly. What does the Magnifier tool written in FPC/Lazarus offer…
- MySQL3, MySQL4, and MySql5 - Micha Might have answer1
I heard from Michael Van Canneyt, or Micha, in an email not to long ago, that the MySQL5 FPC unit is available and has been for awhile. My attempts at finding it have…
- RE: MySQL3, MySQL4, and MySql5 - Micha Might have answer0
[Jason P Sage Wrote Originally...] [Jason Peter Sage] COOL once again! I'd thought I'd report that, at least for a connection, simple query, and clean shutdown, it…
