Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2004-03

  1. Problem with CASE statement

    In go32v2 i got a problem with case statement. With compiler 1.0.10 is this without errors: const kbDown = $5000; kbUp = $4800; var ch : char; begin ch:=ReadKey; case…

    Unknown author, David Emerson, Matt Emson
    11
  2. XTest extension for fpc

    Hi! Has anyone translated the XTest xtension of XFree86 to pascal yet? I tried to h2pas this: /usr/X11R6/include/X11/extensions/XTest.h but don't know how to handle the…

    Marc Santhoff, Jeff Pohlmeyer, Rainer Hantsch
    9
  3. ARM packages of >= 1.9.3?

    I just got a Zaurus and I'd love to use FPC on it. Or, failing that, I'd like to try cross-compiling on Linux for ARM. Are there any Zarus users out there who could…

    Alan Mead, Florian Klaempfl, Jose Pascual
    3
  4. Free Pascal IDE

    How can I increase the width of the Free Pascal IDE? Free Pascal is running under Windows XP.

    Bill Doak, Florian Klaempfl
    1
  5. Cycle problem in Win32

    I just tried to cycle a fresh compiler but have a problem with the fpc.exe application. If I use an old version everything works fine. If I try to use the newly built…

    Michael A. Hess, Lee, John
    2
  6. using big files with high performance

    Hi! Sorry for bad english, and, maybe this is a beginner question: I'am trying to write my own small NNTP(Usenet)-daemon (experimental - just want to increase my…

    Christian Müllerke, Unknown author
    1
  7. RE: Farpointers Was: Re: RE: Problem with CASE statem ent

    Many thanks to all for your help. Lubomir/CBL

    Unknown author
    0
  8. GTK accelerator handling

    Hi! While using GTK to attach acelerator keys to buttons I came acros this situation: - There are accels overlapping (one notebook tab F1..F4, other F1..F7) - I tried to…

    Marc Santhoff, Jeff Pohlmeyer, Mattias Gaertner
    3
  9. Creating database with SQLiteDataset

    I was trying to adapt TDbf table creation demo to SQLiteDataset, but I get this error: An unhandled exception occurred at 0x080557E4 : EDatabaseError : : Dataset is…

    Milos Pejovic, Michael Van Canneyt, Unknown author
    3
  10. Call DLL in Pascal DOS program

    Since few months, I work on a burning engine for CD/DVD, coded entierely in Pascal. It's really the first burning engine in full Pascal, compiled perfectly in Borland…

    Christophe Fantoni, Peter Vreman
    2
  11. high performance counter for dos/tp7

    I thought I give this newsgroup a try since you guys seem to know so much about all this stuff :D. Windows has a high performance counter api. With this api one can read…

    Harald Houppermans, Marco van de Voort, Sigurd Stordal
    6
  12. version differences

    Hi! I recently upgraded fpc on my computer (1.0.4 -> 1.0.10). Now some programs doen't work correctly. No problems with compilig, no run-time errors, but the program…

    Pápai András, Michael Van Canneyt, Peter Vreman
    3
  13. constant longword problem

    Hi! Using fpc 1.0.10 on FreeBSD ig do this: USB_DO_REQUEST : longword = 3222820207; and the compiler says: usb_h.pp(43,39) Error: Illegal expression Why thar? The…

    Marc Santhoff, Marco van de Voort, Peter Vreman
    4
  14. feature request: enhanced "pos"

    Dunno if this is the right place to post such a message, but here goes... I would love to see a "pos" function that takes an additional parameter, being the position in…

    David Emerson, Jeff Pohlmeyer, Jonas Maebe
    7
  15. PasDoc / automatically generating doc skeleton

    I'd like to ask if anyone knows a tool which can automatically generate PasDoc documentation headers for existing source code. E.g. adding all tags and probably default…

    Thomas Schatzl
    0
  16. exception handling

    spent a few moments going over the docs in the manual re: exception handling. for some reason it just doesn't seem to be sinking in, as nothing i've tried as of yet has…

    kractor, Jonas Maebe, Michael Van Canneyt
    11
  17. Modifying cpu registers while in turbo pascal interrupt routine ?

    Maybe you guys know something about good old turbo pascal :D Turbo pascal 7 has the 'interrupt' directive which can be placed behind a procedure name to turn it into a…

    Harald Houppermans, Jonas Maebe, Klaus Hartnegg
    26
  18. Socket() call broken in 1.9.3 CVS?

    I pulled in 1.9.3 from CVS yesterday. When I recompiled some code I have been working on I found my program crashed when creating a socket. The program fails with no…

    Lloyd B. Park, Marco van de Voort, Unknown author
    2
  19. little questions and notes: 1.9.2, bugs db, cfg, win32 make cycle

    Whenever I compile anything with fpc, the first thing that the compiler puts on the screen is: Hint: End of reading config file c:\fpc\192\bin\win32\fpc.cfg This happens…

    David Emerson, Unknown author
    1
  20. Can't build FCL

    In trying to make a new compiler it fails when I try to build the FCL. The make is trying to enter a directory fcl/db/sdf but there isn't any such directory. Is…

    Michael A. Hess, Jonas Maebe
    3
  21. win32 make install error

    i've managed to (mostly) work out the problems i had building latest cvs. make cycle runs nicely, make all completes w/o crashing, but when i attempt a "make install"…

    kractor, Vincent Snijders
    1
  22. Re: Bug or not Bug

    On Thu, 11 Mar 2004 12:32:24 +0200 Round returns a longint. The range of a longint is -2^31 .. (2^31-1). The result you had (2^31) doesn't fit in a longint, so this is…

    Vincent Snijders, Peter Vreman, Thomas Schatzl
    3
  23. Developers needed (interested?)

    We (currently two people, myself a uni student doing Software Engineering and Jeremy a great graphics designer) are planning on developing a multi-player strategy game.…

    James Mills
    0
  24. TStringList index

    This code has been driving me nuts for the past week. IDs:=TStringList.Create; for i:=0 to Datab.List_Field.Count-1 do begin Tmp:=TStringList(Datab.List_Field.items[i]);…

    Taj Morton, Jesus Reyes, Vincent Snijders
    3
  25. sendkeys with gtk binding

    Hi! I'm trying to put some key event in the general message queue of an application. Think of simulating key presses. Some keypresses should be sent to the window and…

    Marc Santhoff, Unknown author
    3
  26. Re: SQLite Header File

    The one distributed with FPC is correct. The error you get is because you probably forgot to put 'cmem' as the first unit in your program's uses clause. Michael.

    Michael Van Canneyt, Jeff Pohlmeyer, kractor
    6
  27. Re: emacs & freepascal

    Add (add-to-list 'auto-mode-alist '("\\.pas\\'" . pascal-mode)) to your ~/.emacs file to inform Emacs that files with extension "pas" should use Pascal mode. Add…

    Michalis Kamburelis, Jacobo García López de Araújo
    2
  28. Using Tprocess to write to child process standard input.

    I am having some problems writing to the InputStream of a Tprocess object. Below is the source code. I am testing this on windows. When stepping through the code I get…

    Vincent Snijders, Michael Van Canneyt, Unknown author
    5
  29. Re: Splitting Strings at character

    MyStringList.CommaText:='free,pascal,OO,linux,win32'; If there are spaces, you should enclose them in double quotes: MyStringList.CommaText:='"free pascal","Object…

    Michael Van Canneyt, Taj Morton
    1
  30. 'record' / 'array' variable types

    working on some user-defined variable types for a media database project i'm working on (slowly, oh so slowly). i've defined types for artist and album and track…

    kractor, Dr.Slump
    2
  31. quick question

    begin if exists ('bot.log') then begin assign(ftb,'bot.log'); append(ftb); writeln(ftb,'bot log created'); // find away to enter time , date close(ftb); end else begin…

    r.w.h, James Mills, Jeff Pohlmeyer
    2
  32. how to convert a string to pppchar

    i defined type PPPChar=^PPChar end; now the question is how to convert a string to pppchar or convert a pppchar to string? please help me.

    GongYu, Peter Vreman, Steve Williams
    2
  33. Suppressing the console window in Win32

    I'm building a graphical application using GameVision (http://www.jarroddavis.com/). The application compiled in FPC opens a console window whenever the application is…

    Steve Williams, Marco van de Voort, Peter Vreman
    10
  34. no ppu installation with fpcmake

    Hi! I'm new to this list and have a lot of questions waiting, so be patient please. ;) The first one: I wrote a Makefile.fpc that is working fine. The only thing i can't…

    Marc Santhoff, Peter Vreman
    5
  35. fpcmake and capital letter filenames

    Hi again! Apparently fpcmake has no idea of handling file names with capitals in them. I use those names for having better readability and sorting issues. When the…

    Marc Santhoff, Marco van de Voort, Peter Vreman
    6
  36. Default parameters support?

    Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I cannot get it to compile Delphi code that has default parameters. I'm using the…

    Steve Williams, kractor, Marco van de Voort
    4
  37. Can't seem to cycle a new compiler

    I have been trying to cycle a new Win32 compiler so that I can make a complete Lazarus distro which includes the compiler. I have the 1.9.2 binary release and am trying…

    Michael A. Hess, kractor, Michael Van Canneyt
    15
  38. Findfirst and symbolics links

    Hi How do I know if a file returned by findfirst is a real file or a symbolic link ? Thanks _____________________________________________________________ Web-based SMS…

    Inpromptu, Peter Vreman
    3
  39. Re: Berkeley DB + FPC

    It's distributed by default. See packages/extra/gdbm This links to the gnu db library. Michael.

    Michael Van Canneyt, Marco van de Voort, Taj Morton
    3
  40. blockread in a procedure

    I'm having trouble using blockread. It was working for... oh, a year... and all of a sudden it's not working. I'm getting a runtime error 87 in win32/i386 (fpc 1.0.10)…

    David Emerson, Marco van de Voort, Michael Van Canneyt
    10