fpc-pascal · 2002-07
- Cross compiling Linux -> Windows - how?3
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…
- shared libraries interface26
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…
- Integer type?3
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;…
- MySQL under Windows12
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…
- Searching MPICH 1.2.x bindings0
Does someone know an fpc binding for mpich 1.2.x? Mattias Gaertner
- Common database access in Pascal6
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…
- FPC and GTK+5
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…
- FPC and InterBase/Firebird problems2
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…
- Bug on the FCL?0
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:…
- linking bug0
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…
- .so import/export2
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…
- GTK and Object Pascal0
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…
- exporting FPC classes to C++0
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…
- FPC and MySQL under Linux0
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…
- filesize7
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));…
- RE: more error text in some cases1
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…
- Any examples using x11 units?5
(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?…
- Beginner's Question : After compile & run, nothing happens0
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…
- file2
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
- Plugins and stuff.1
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…
- FreePascal and Firebird1
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…
- Re: plugin frameworks.11
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…
- FPE error inside compiler10
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…
- Extremely disappointed..2
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…
- Internal error0
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.
- Keyboard and Mouse units...0
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…
- How to give an array-of-const to a C ellipse?0
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…
- Socket problems2
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…
- FPC on Symbian Platform?1
Is there somebody who has a plan for Symbian (http://www.symbian.com) Platform version of FPC? TPS
- more on GetOpts0
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.).…
- Re: About GetOpts and configuration file parsing6
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…
- INI file handling0
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…
- Come find your secret admirer!0
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:…
- question about FileGetAttr2
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…
- Corrupt OS2106full file3
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…
- OS/2 FindFirst/FindNext problem1
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…
- Blizzard Entertainment Technical Support0
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…
- Re:�Problem�with�ANSI-Strings1
Thank�you�for�this�information. Is�there�an�easy�fix�that�I�can�apply�to�the�compiler�code�to�remedy� this?� Philipp Lucas
- Problem with ANSI-Strings1
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…
- offtopic: GTK question2
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…
- SetIsrVec / GetIsrVec1
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…
- CRT problem - Linux1
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…
- gtk2 bindings - need Testers2
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…
- MySQL question...2
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…
- Brad Murphy/digitalESP is out of the office.0
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.…
- Re: Beep in Linux4
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…
- Strange problems with MySQL ...0
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…
- I don't understand value typecast2
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)…
- I am your Special Angel...7
****************************** WARNING ******************************* This message has been scanned by AbsolutOK Relay mail and was found to contain infected…
