Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2006-08

  1. 204 Compiler

    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…

    Carsten Bager, Florian Klaempfl, Jonas Maebe
    7
  2. ASM Converting from Turbo Pascal

    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…

    Rainer Stratmann, Peter Vreman
    2
  3. Ansi strings

    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…

    Carsten Bager, Jonas Maebe, Marc Santhoff
    5
  4. AsciiZ confusion

    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…

    afpTeam, Matt Emson
    3
  5. Merssage [Error](1,1): Unexpected end of file

    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…

    Alexandre Leclerc
    1
  6. Makefile.fpc issues

    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…

    Graeme Geldenhuys
    0
  7. Release of MSEide+MSEgui rev. 0.9b

    MSEide+MSEgui rev. 0.9b for FPC 2.0.4 is released: http://mypage.bluewin.ch/msegui/ Martin

    Martin Schreiber, Krishna
    3
  8. fpcmake question

    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…

    Graeme Geldenhuys, Darius Blaszijk, Peter Vreman
    3
  9. fpc packages

    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,…

    Graeme Geldenhuys, Peter Vreman
    1
  10. FPC 2.0.4 is out!

    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…

    Tomas Hajny, Daniël Mantione, Felipe Monteiro de Carvalho
    3
  11. Which ARM cpus are supported?

    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…

    Marc Santhoff, Florian Klaempfl
    2
  12. 2.0.4 for OS/2

    the filename on the download page is incorrect. Should be os2204-full.zip but the hyphen is missing. I downloaded successfully using ftp. Thanks.

    Unknown author, Tomas Hajny
    1
  13. Building FPC with gdb support for SPARC

    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…

    Mark Morgan Lloyd, Florian Klaempfl, Jonas Maebe
    26
  14. Re: International chars and Codepages...

    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…

    S.Anıl Yılmaz, Jonas Maebe, Tomas Hajny
    2
  15. International Chars... Codepages...

    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…

    S.Anıl Yılmaz
    0
  16. International Characters in Console mode programs...

    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…

    S.Anıl Yılmaz, Marco van de Voort, Rimgaudas Laucius
    3
  17. Re: fpc-pascal Digest, Vol 24, Issue 40

    yazmış:

    S.Anıl Yılmaz
    0
  18. Fw: Ask about FPC

    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,…

    L505
    0
  19. Precision of sqrt, exp, ln, etc?

    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…

    Jeff Miller
    0
  20. encryption

    Does anyone have a routine with example to encrypt/decrypt text files? Thanks in avance Fabrício F. Kammer

    Fabrício F. Kammer, Alexandre Leclerc, Eugene Mayevski
    8
  21. Hardware

    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…

    Fabrício F. Kammer, A.J. Venter, Adrian Maier
    5
  22. operator overloading

    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…

    Kendall Bell
    0
  23. Porting TP ASM to FPC ASM

    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…

    Michael Preslar, Jonas Maebe, Marco van de Voort
    3
  24. sigsegv error using tsqlquery

    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…

    Jose Luis Jurado Rincon
    0
  25. Path library

    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…

    Fabrício F. Kammer, Mattias Gaertner
    2
  26. Re: TCP Server

    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

    Amir Aavani, Adrian Veith, Aleksey Y. Ulasevich (STAKANOV
    13
  27. Free Pascal widget set

    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)…

    Graeme Geldenhuys, Alexandre Leclerc, Cesar Romero
    19
  28. Widget Sets, Lazarus, Graeme Project, FPC Win32

    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:…

    Jason P Sage, Bisma Jayadi, Graeme Geldenhuys
    3
  29. data driven fpc unit tests

    Suppose I have a component TMyDataProcessor with the following declaration: type TMyDataProcessor = class function process(const s: string) : string; end; Now I want to…

    Vincent Snijders, Dean Zobec
    2
  30. PascalScript / FPC: parameters problems (need internals gurus I think)

    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*…

    Alexandre Leclerc, Jonas Maebe, Michael Van Canneyt
    7
  31. Installing Indy on Windows XP

    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

    Fabrício F. Kammer
    0
  32. registers used for parameters passing on x86_64

    How do I know which parameter is passed in which register on a x86_64 linux platform ? Dominique.

    Dominique Leducq
    0
  33. for n:=0 to

    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…

    Carsten Bager, Jonas Maebe
    1
  34. Compiling FPC for SPARC

    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…

    Mark Morgan Lloyd, Florian Klaempfl, Jonas Maebe
    53
  35. 2.1.1 new protected

    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…

    Mattias Gaertner, Alexandre Leclerc, Florian Klaempfl
    23
  36. Compile error in sources from SVN Rev. 4420

    The problem is, missed keyword 'class' in zipper.pp line 368 and 439. Gabor

    Gabor Boros, Michael Van Canneyt
    1
  37. minor sysutils question under win32

    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
  38. 0
  39. TPLY

    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

    Aleksey Y. Ulasevich (STAKANOV, Marco van de Voort
    1
  40. DOS Timer Interrupt, serial Interrupt

    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…

    Rainer Stratmann, Alexey Pavluchenko, Andreas Berger
    6
  41. crosscompiling from win32 to i386-linux and libc linking

    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…

    Dominique Leducq, Marco van de Voort
    5
  42. su (switch user) application

    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...

    Johannes Nohl, Michael Van Canneyt
    5
  43. turbo is back!

    $(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…

    Krishna, Florian Klaempfl, Marco van de Voort
    2
  44. best way to execute external program

    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?…

    Bisma Jayadi, Darius Blaszijk
    1
  45. Re: DLL and Shared Libs in FPC

    [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…

    Jason P Sage
    0
  46. Linker error

    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…

    Carsten Bager
    0
  47. RE: MySQL3, MySQL4, and MySql5 - Micha Might have answer

    [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

    Jason P Sage, Dominique Leducq, Felipe Monteiro de Carvalho
    9
  48. Magnifier vs xmag

    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…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Jesús Reyes A.
    6
  49. MySQL3, MySQL4, and MySql5 - Micha Might have answer

    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…

    Jason P Sage, Jesús Reyes A.
    1
  50. RE: MySQL3, MySQL4, and MySql5 - Micha Might have answer

    [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…

    Jason P Sage
    0