fpc-pascal · 2011-09
- Cannot build RTL for native NT4
These were the steps I did (based on http://wiki.freepascal.org/Target_NativeNT) 1. Check out svn.freepascal.org/svn/fpc/trunk (revision 19048), put it into…
- Syntax error with new FPC SVN3
I have updated my FPC to SVN from today and when I try to compile my TYPE TByteSet = set of Byte(0)..Byte(7); What has changed on syntax for this definition? PS: I use…
- Pascal for osx Lion1
I downloaded free pascal for mac osx and I discovered that it wont run on OSX Lion :( as Apple has removed X11 and other modules etc out of lion so basically have to go…
- arm controller unit3
On target 'arm' sometimes the compiler uses the controller unit. For the codetools I need to know the exact conditions. What flags indicate that the controller unit is…
- SIGPIPE avoid or catch1
When I start under Linux a process with TProcess [poUsePipes], write stuff to Input and the process exits I get a SIGPIPE (broken pipe), which kills my whole program…
- HDR imaging0
ZeelandNet Webmail Has anyone ever used HDR images in a freepascal application. I'm looking for a native library or a binding to a lib eg OpenEXR. Regards, Darius
- get method params and its type0
How to get a list of parameters of an object method, if we only know the name of the object and its methods? ----- - View this message in context:…
- ARM STM32F Processor11
Is it possible to compile for this device? Can somebody help? I want to switch from Atmel (8bit) to ARM. I Also need hardware demo board, if someone has an example.
- Are there any limitations with TCustomSQLScript0
I created a "upgrade script runner" application for our products. This allows the end user to easily upgrade there local database with a new executable and update…
- A list of CORBA interfaces - how?2
I'm porting some of my old Delphi code which used interfaces extensively. Since I moved to FPC years ago, I liked the idea of CORBA-style interfaces, and mostly use them…
- problems with CORBA interfaces having no base type3
Continuing my port of old Delphi code that used interfaces extensively. Now that FPC 2.6.0 is nearing, I can play the with Interface improvements it has. In some of my…
- Hints on getting FPDocs to work on Linux5
<total Latex newbie here> Any hints on which packages to install on Debian Squeeze (current stable) or which files are required so I can try generating some FPDocs…
- How to do conditional compilation with macros6
Trying to test for a certain minimum version of FPC. Have got FPC version 2.7.1 [2011/09/17] for i386 on Windows. What am I doing wrong? program conditional; {$mode…
- WinCE multithreading10
Hi! I'm porting a multi-thread project to WinCE. Everything works fine, except when I put a Label (or any window control) on any form and link it with the data coming…
- Linux - ExecuteProcess versus fpSystem33
Reinforcing the subject, this is using Linux - to be specific, FPC 2.4.2-0 under 64 bit Mint 9. I'm trying to convert a large number of MP3 files to Ogg Vorbis. This is…
- Multiple enumerators per class3
I found the Wiki page about the new for-in loop and found a misinformation. It stated wrongly that it is not possible to have multiple enumerators per class. It even…
- Interface, _AddRef, _Release, etc.16
A class (TFoo) implements an interface (IFoo), but my class has more methods and properties (in the eg below just one more method) that I need use. Another object has a…
- [Patch] New tests for fcl-db export1
FYI & hopefully implementation: I've been writing some tests for fcl-db export, that test basic functionality for: - CSV export - DBF export - SimpleXML export Please…
- How to get a data module to notify of events?6
I have a form with some threaded objects that notify another form of events by calling one of that forms events. I want to convert to a data module and any interested…
- How to detect supported data types in dataset?2
Possible newbie question so feel free to educate me ;) (Away for some days, so may not read response until back) A patch by Ludo Brands on bufdataset (mantis 19930) got…
- File monitoring Linux7
I'm searching some pascal code for file monitoring for Linux. That means getting notified if a file in a directory or its sub directories was modified. I found some…
- How does fpc Makefiles generate paths?2
I don't want to maintain two separate tools, so I use unix tools from msys to build FPC. Since a few latest release, the tools no longer produce path in windows style…
- Overloading the increment operator (+=)5
If write a declaration without result it complains about invalid syntax; if I add a result it says "impossible operator overload". Does FPC allow overloading the +=…
- TypeInfo Illegal Expression0
I'm converting a Delphi app to FPC and I'm getting an "Error: Illegal expression" when I use the function TypeInfo. Example: TypeInfo(TDateTime). The unit that calls…
- Re: fpc-pascal Digest, Vol 87, Issue 130
From: Marcos Douglas I don't think the question was whether it was necessary, but whether it was possible. When you use += a lot for scalars, it is a bit annoying when I…
- Problem linking a Windows DLL4
I have a plain Windows DLL made in Visual Studio C++ and working with other C applications. When I try to statically import it into an FPC program I get the…
- DBF Field name length and fpdbfexport12
If I Googled correctly, the following field size limits are present for the various DBase formats: 3: DBase III: 10 characters 4: DBase IV: 10 characters 7: DBase VII:…
- 2 bugs ???4
I am trying to learn freepascal generics and I think that I have found 2 bugs. Tested with FPC 2.4.4 Linux x86 ================== = BUG 1 - with SizeOf =…
- TField.Attributeset explanation?6
Working on the SQLDB Tutorial1 on the wiki. I'm struggling with getting dbgrid-driven inserts to work. Using Firebird employee.fdb CUSTOMER table; CUST_NO is an integer…
- FPCDocs Git repository2
While there are git repositories for FPC and Lazarus, there doesn't seem to be one for FPCDocs. Is a public git repository available for FPCDocs? The reason: I'm looking…
- Improved LazUpdater - testers welcome on Windows0
I've been improving the LazUpdater FPC/Lazarus SVN downloader/installer written by Ingo Steiniger for a while now. I didn't get any reaction from the original author…
- Converting String to array of Char generates duplicate local var0
Hello. I have definitions: PluginDir: packed array [0..Pred(16384)] of AnsiChar; sName: AnsiString; When I assign AnsiString to array of Char compiler generates code…
