Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2002-07

  1. Cross compiling Linux -> Windows - how?

    Hello! I will possibly get an order to write a small program which does nothing else than printing exported block data from AutoCAD in a nice form. (Data are exported…

    Rainer Hantsch, jc, Jonas Maebe
    3
  2. shared libraries interface

    Is it possible to keep certain classes implementation in a shared library and export it out directly by some native object pascal ways? A related question: wouldn't it…

    Nikolai Zhubr, Florian Klaempfl, Full_Name
    26
  3. Integer type?

    I'm trying to use a Win32 API function, which is being called like this: var BytesAvail : int64; BytesTotal : int64; BytesFree : int64; RootDir : array [1..4] of char;…

    Unknown author, Rich Pasco
    3
  4. MySQL under Windows

    I am using FPC 1.0.6 under Windows 98 and MySQL 3.23.49. The simple test program bellow generates a run-time error 103 on the first write/writeln call unless I define…

    Fernando Lozano, Bernhard Steffen, Florian Klaempfl
    12
  5. Searching MPICH 1.2.x bindings

    Does someone know an fpc binding for mpich 1.2.x? Mattias Gaertner

    Mattias Gaertner
    0
  6. Common database access in Pascal

    I was wondering whether someone here knows if there's some sort of unit which provides some (basic) methods for common database access across different database systems…

    Thomas Schatzl, Fernando Lozano, Florian Klaempfl
    6
  7. FPC and GTK+

    I used to try simple GTK+ apps using FPC for Windows and the GTK+ DLLs provided by Dia and Gimp. Now, using FPC 1.0.6, Dia 0.90 and Gimp 1.2.3 (both from the installer…

    Fernando Lozano, Florian Klaempfl, Olaf Leidinger
    5
  8. FPC and InterBase/Firebird problems

    compiling the example testib60.pp, on a linux box (Slackware 7.0), I get this error: * /usr/lib/libgds.so: undefined reference to 'crypt' * testib60.pp(164) Error: Error…

    Jilani Khaldi, Michael Van Canneyt
    2
  9. Bug on the FCL?

    After I got a compatible libmysql.dll my test program for the FCL database classes shows a strange result: C:\usuarios\lozano\fpc>testedbmysql codigo: INFO, nome:…

    Fernando Lozano
    0
  10. linking bug

    I have written a small program under linux, which calls an external procedure in a dynamic lib. See at the end of the mail. I compiled it with the -XD option without any…

    Mattias Gaertner
    0
  11. .so import/export

    As far as I understood, the only way to link to .so's now is by manually calling dlopen/dlsym. Are there any plans for some more nice-looking way (like borland's…

    Nikolai Zhubr, Jonas Maebe
    2
  12. GTK and Object Pascal

    I am building a small GTK app on Free Pascal, using the provided Gtk+ unit. As each window has a lot of code to build the UI, I decided each Window will be one class. I…

    Fernando Lozano
    0
  13. exporting FPC classes to C++

    I was wondering if there is any way to make a DLL o object file in FPC, of a Unit using "classes" and use them in a C++ compiler. I don't need to extend the classes in…

    Ivan Montes
    0
  14. FPC and MySQL under Linux

    Using the same test program I already sent, but this time under Linux nad not Windows 98. Red Hat 6.2, fpc 1.0.6 (the real one, not the beta that was released by…

    Fernando Lozano
    0
  15. filesize

    I've just found out, to my horror, that a tiny program like here: program tester; var f:file of char; begin assign(f,'testfile'); reset(f); writeln(FileSize(f));…

    Adam Naumowicz, Jonas Maebe, Martyn Ranyard
    7
  16. RE: more error text in some cases

    There are 1 or 2 errors run time (such as this one) and some compiler errors, that often come up & get answered by the developers... would it be worth expanding the…

    Lee, John, Jonas Maebe, Lee
    1
  17. Any examples using x11 units?

    (I appologise if this is not exactly the right place to ask,) are there any fpc projects/examples/demos/whatever using x11 units rather than wrapping to some toolkits?…

    Nikolai Zhubr, Anton Tichawa, Georgi Georgiev
    5
  18. Beginner's Question : After compile & run, nothing happens

    I am using Bloodshed Dev-Pascal 1.9.2 with Free Pascal Compiler. I followed the instructions in the tutorial found in the Help menu to create a Pascal Windows project. I…

    Ray top
    0
  19. file

    Hello list-members! Let's say I've a variable of type file. Is there a way to find out if it is assigned and the file is opened? Olaf

    Olaf Leidinger, Jonas Maebe
    2
  20. Plugins and stuff.

    om I thank those who have responded to my inquiries about plugin architectures. I will certainly look into the things that have been suggested. As to the question of…

    Alan Grimes, Matt Emson
    1
  21. FreePascal and Firebird

    Hi. I have debian Woody. I try to use firebird from Free Pascal. Free Pascal Compiler version 1.0.4 [2001/08/31] for i386 Copyright (c) 1993-2000 by Florian Klaempfl…

    Korkuts, Marco van de Voort
    1
  22. Re: plugin frameworks.

    Quoting Alan Grimes : Take a look on Torry (www.torry.net) and search form 'plugin' (right hand, toppish corner.) If you're feeling lazy, this link is to the first…

    Full_Name, A.J. Venter, Aitor Santamaría
    11
  23. FPE error inside compiler

    what does "FPE error inside compiler" mean. It occurs under certain circumstances (if I use single's instead of double's, ...). Does it mean "Floating point exception…

    Stefan Ziegenbalg, A.J. Venter, Florian Klaempfl
    10
  24. Extremely disappointed..

    I was greatly saddened when I read in one of the manuals that the overlay feature had been removed... I am a horribly inexperienced programmer so maybe there is a better…

    Alan Grimes, Jeff Wormsley, Lee
    2
  25. Internal error

    The following type definition TYPE test_type=RECORD CASE b:BOOLEAN OF TRUE:(s:BYTE); FALSE:(s:WORD); END; does not work, of course, because 's' is a duplicate identifier.

    Philipp Lucas
    0
  26. Keyboard and Mouse units...

    Greetings! Is there anyway to wait for either a keyboard or mouse event at the same time without constantly polling for them in Windows? One way to make it possible…

    jc
    0
  27. How to give an array-of-const to a C ellipse?

    I have found a problem with 'array of const'. There are two types: The array of variant records and the C-Compiler array used by the 'cdecl;external;'. The compiler…

    Mattias Gaertner
    0
  28. Socket problems

    Hi all, this is my first post to this list, lets see if there are any knowledgable eager beavers out there. I have a program that used to run fine (Compiled with…

    Martyn Ranyard, Thomas Schatzl
    2
  29. FPC on Symbian Platform?

    Is there somebody who has a plan for Symbian (http://www.symbian.com) Platform version of FPC? TPS

    Tomas TPS Ulej, Florian Klaempfl
    1
  30. more on GetOpts

    Sorry, one more on GetOpts. I have read the help and examples, and it wasn't clear for me what to do when I want to have a "free parameter" (such as filename, etc.).…

    Aitor Santamaría Merino
    0
  31. Re: About GetOpts and configuration file parsing

    I don't think so. Afaik, it's a port from a GNU package and they always use - and never /, even under Dos/Windows. There's a unit called inifiles in the FCL. It's not…

    Jonas Maebe, Aitor Santamaría, Aitor Santamaría Merino
    6
  32. INI file handling

    TurboPower has (had) a very nice unit for handling these. The code was an extra with the Asych package. As far as I know it was freely distributable. I didn't see their…

    Rolf Grunsky
    0
  33. Come find your secret admirer!

    Thanks for joining SomeoneLikesYou.com. You have a secret admirer but you have to list some guesses in order to find out who it is -- Find out now! Go to:…

    Unknown author
    0
  34. question about FileGetAttr

    Hello, Everyone under /usr/local/, I have a file of information: -rw-r--r-- root root aaa.dat so the file belongs to root, and can be read by any user. Then I try to…

    milimeter, Jonas Maebe, Yet Another Geek
    2
  35. Corrupt OS2106full file

    I downloaded the os2106full.zip file from two sites and in both cases the file was corrupt. In both cases the page said the file should be 15.3M but the file itself was…

    Rolf Grunsky, amorel, Jonas Maebe
    3
  36. OS/2 FindFirst/FindNext problem

    I have written a small utility that reports any filenames that are too long for a CD (64 characters.) It displays the length and name of any filename that is too long or…

    Rolf Grunsky, Unknown author
    1
  37. Blizzard Entertainment Technical Support

    Thank you for E-mailing Blizzard Support. We have received your message and will be responding to it as soon as possible. Please note that due to the recent release of…

    Online Support
    0
  38. Re:�Problem�with�ANSI-Strings

    Thank�you�for�this�information. Is�there�an�easy�fix�that�I�can�apply�to�the�compiler�code�to�remedy� this?� Philipp Lucas

    Philipp Lucas, Lee, John
    1
  39. Problem with ANSI-Strings

    I have a problem with ANSI-Strings. Please take a look at the following program, which is a minimal sample of code that produces different results depending on whether I…

    Philipp Lucas, Michael Van Canneyt
    1
  40. offtopic: GTK question

    I need to draw an animation on GTK (1.2) window (let's say array[0..15] of PGdkImage, or so), I had a problem to force GTK to redraw window, which I solved by not…

    Vit Kavan, Florian Klaempfl, Marco van de Voort
    2
  41. SetIsrVec / GetIsrVec

    Using version 1.0.6 (23.4.2002), with GO32 Extender, we have the problem that the procedures SETISRVEC and GETISRVEC do not work properly: We want to save first the old…

    Peter Baumgartner, Pierre Muller
    1
  42. CRT problem - Linux

    I again have a problem with the CRT unit for Linux, and I think it is a bug. What I want to do is to fill the whole screen with a background color. So I set the…

    Andreas K. Foerster, A.J. Venter
    1
  43. gtk2 bindings - need Testers

    There are now alpha bindings for the gtk 2.0 - the "gimp tool kit" - for FreePascal. See http://sourceforge.net/projects/gtk2forpascal/ The bindings are not complete…

    Mattias Gaertner, Florian Klaempfl
    2
  44. MySQL question...

    Hello, everybody! Currently I am thinking about enhancing my MySQL unit, because it currently does only a very simple way of querying. I use Michael's "mysql" unit and…

    Rainer Hantsch, Michael Van Canneyt, Mirek Novak
    2
  45. Brad Murphy/digitalESP is out of the office.

    I will be out of the office starting 07/03/2002 and will not return until 07/08/2002. I have received your email, however I am out of the office until Monday, July 8th.…

    Unknown author
    0
  46. Re: Beep in Linux

    I wrote a small proggie quickly that used the ncurses wrapper and called the beep routine from curses (man beep) IE: program beeptest; USes NCurses; Begin Beep; End. It…

    A.J. Venter, Aitor Santamaría, Aitor Santamaría Merino
    4
  47. Strange problems with MySQL ...

    Hello, everybody! Primarily for my own use, I wrote a nice, little invoicing program in FPC 1.0.4. It uses the MySQL libraries. While this program works smoothly when…

    Rainer Hantsch
    0
  48. I don't understand value typecast

    In the manual explain that the value typecast doesn't work, when the type size of the expression and the size of the type cast not must be the same. (page 58. ref.pdf)…

    Luis Del Aguila, Jonas Maebe, Stefan Becker
    2
  49. I am your Special Angel...

    ****************************** WARNING ******************************* This message has been scanned by AbsolutOK Relay mail and was found to contain infected…

    bobara, Aitor Santamaría, Andreas K. Foerster
    7