fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Getting disk label and serial numbers5
I am currently trying to write a catalog program for my archive CD-ROM's and I can not find a working method of a) getting the volume label and b) getting the serial…
- Missing Win32 Function6
Okay, I've found another Win32 API function that's not supported by 1.0.6 -- EnumPrinters. According to the API Reference that function can give a list of local and/or…
- FCL bug? [ was: fpc and MySQL]0
Thanks a lot. Now it works. But the same program using the MySQL FCL unit presents on Linux the same bug as on Windows: When I get a field value using method "AsString",…
- Returned mail: User unknown0
The original message was received at Wed, 7 Aug 2002 11:34:56 -0600 (MDT) from 200-204-124-235.dsl.telesp.net.br [200.204.124.235] ----- The following addresses had…
- odbc problem solved0
Thank you Michael, that's solved. Fpc is marvellous. It reminds me of TP5 some 10 years ago. I've switched to GNU C these days and it is beyond words how good it is…
- odbc problem2
Hi, I'm new to the list. From the archive has written in June on the odbc package. I have successfully downloaded it from the daily snapshot (it's not in the standard…
- Problem with TReader and integer idents4
I have an object stream for a component with a published property Color: TColor. The stream contains the statement: Color = clRed Since 'clRed' is an identifier, TReader…
- fpc and MySQL8
Using fpc 1.0.6 and MySQL 3.23.49a under Red Hat Linux 6.2, everything installed from rpm packages. When I try to compile a simple program usign the mysql unit I get the…
- Re: libglade and fpc on win323
Hi! Anyone else interested on using libglade with Free Pascal? Any kind coder who could provide us a working glade.dll + fpc unit? Well, we've also added a libglade2…
- 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…
- Missing Win32 API function0
The Win32 API function timeGetTime isn't part of the 1.0.6 release (4/23/2002), but since it's in the reference it probably should be. Here's what the reference says:…
- Re: GTKpas on Win321
Hi! I only used gtkpas on Linux until now. But I would be happy to see it on Windows (despite I don't like Windows :-) ). I think it is better to install the programs…
- How to assign values to a record variable?6
Hello, Every one Could anybody tell me that how to assign all values to a record typed variable? I mean that in C I can assign a struct variable such as: struct aaa {…
- RE: Initializing record types (=?gb2312?B?SG93IHRv...)0
values to a record struct variable Do you mean like this ? program rectest; type tMyRec = record a, b : integer; s: string[15]; end; const aMyRec: tMyRec = (a:16; b:37;…
- 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?…
