fpc-pascal · 2004-03
- Problem with CASE statement11
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…
- XTest extension for fpc9
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…
- ARM packages of >= 1.9.3?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…
- Free Pascal IDE1
How can I increase the width of the Free Pascal IDE? Free Pascal is running under Windows XP.
- Cycle problem in Win322
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…
- using big files with high performance1
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…
- RE: Farpointers Was: Re: RE: Problem with CASE statem ent0
Many thanks to all for your help. Lubomir/CBL
- GTK accelerator handling3
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…
- Creating database with SQLiteDataset3
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…
- Call DLL in Pascal DOS program2
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…
- high performance counter for dos/tp76
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…
- version differences3
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…
- constant longword problem4
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…
- feature request: enhanced "pos"7
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…
- PasDoc / automatically generating doc skeleton0
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…
- exception handling11
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…
- Modifying cpu registers while in turbo pascal interrupt routine ?26
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…
- Socket() call broken in 1.9.3 CVS?2
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…
- little questions and notes: 1.9.2, bugs db, cfg, win32 make cycle1
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…
- Can't build FCL3
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…
- win32 make install error1
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"…
- Re: Bug or not Bug3
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…
- Developers needed (interested?)0
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.…
- TStringList index3
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]);…
- sendkeys with gtk binding3
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…
- Re: SQLite Header File6
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.
- Re: emacs & freepascal2
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…
- Using Tprocess to write to child process standard input.5
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…
- Re: Splitting Strings at character1
MyStringList.CommaText:='free,pascal,OO,linux,win32'; If there are spaces, you should enclose them in double quotes: MyStringList.CommaText:='"free pascal","Object…
- 'record' / 'array' variable types2
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…
- quick question2
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…
- how to convert a string to pppchar2
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.
- Suppressing the console window in Win3210
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…
- no ppu installation with fpcmake5
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…
- fpcmake and capital letter filenames6
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…
- Default parameters support?4
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…
- Can't seem to cycle a new compiler15
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…
- Findfirst and symbolics links3
Hi How do I know if a file returned by findfirst is a real file or a symbolic link ? Thanks _____________________________________________________________ Web-based SMS…
- Re: Berkeley DB + FPC3
It's distributed by default. See packages/extra/gdbm This links to the gnu db library. Michael.
- blockread in a procedure10
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)…
