fpc-pascal · 2016-07
- Parallel Port Access with Free Pascal - windows29
I am trying to get access to the parallel port with Free Pascal. I'm trying to use this version of inpout32 (x64) http://www.highrez.co.uk/downloads/inpout32/ Here's my…
- logging fcl-db (sql) actions1
I've done a little program with fcl-db's sqlite connection. I sometimes have the feeling I miss edits. Does fcl-db have something to log all sql actions (like sql logger…
- Lazarus cannot debug after Raspbian upgrade1
I just upgraded my Raspberry Pi3 from the March to the May version of Raspbian using the dist-upgrade command and then rebooted. Now Lazarus has problems with running…
- The end of Gmane2
Sorry if this has been mentioned earlier here already, or if it is considered off-topic (and if so, will not do it again). But I think it is relevant and of interest to…
- Weird string behavior36
Hello: I'm working on windows XP, FPC 3.0.0 from stable Lazarus 1.6. I've come across this issue: When I concatenate two strings in UTF8 they are converted to ansi…
- Re: GPIO for pi5
Op 27-07-16 om 15:52 schreef Bo Berglund: I have following files on the pi : /usr/lib/libpigpio.so /usr/lib/libpigpiod_if2.so Do you have these ? I'm running the latest…
- Test for valid ip address6
I need a way to test if an string containing an ipv4-address is really an ipv4-address. I tried tmpAddress:=HostAddrToStr(StrToHostAddr(IPAddressStr));…
- Could Not Set Breakpoint - Why not?0
I can't seem to set any breakpoints at all with FreePascal 3.0.0 with the text IDE. Does anyone have any idea why this could be? I have even tried to set a breakpoint…
- Microsecond Delay Suggestions?14
Any Suggestions for a microsecond delay? I had a scheme in my old dos program where I would run a massive loop at the beginning of my program and time it with DOS 55mS…
- x64 compiler and Large Address Aware flag1
We are using FPC (2.6.0) here to allow compiling our users ideas into runable code and while this has worked just fine until now, on one occasion we have reached a…
- EBusError0
An unhandled exception occured at $08113310 : EBusError : Bus error or misaligned data access $08113310 $08052EF3 $08078A3E $080540B0 $08054D96 $080551D1 $08055915 Is it…
- Textmode IDE splitscreen?9
Is there a way to get the textmode IDE to do splitscreen the way Turbo Pascal used to if you had both a color and monochrome monitor? It was very handy to trace through…
- old school crc3211
this is driving me battier than i already am :( i have a binary file that contains a record of data... the first field of the data is a crc32 value of a string of…
- Linux Port help9
I'm a newbie trying to port an old turbo pascal program to FreePascal in linux. My reasons for doing this is old Pentium 233 motherboards are getting harder to keep…
- Vehicle Routing Problem with Time Windows1
does anyone knows any object pascal or c ( not c++, java, lisp ... ) library that can solve the Vehicle Routing Problem with Time Windows, open source or not ? Searched…
- FPC allows modifying loop variable3
I just discovered a surprising bug in my application. I had a variable "b" defined which I used in a FOR loop. FPC forbids you to modify that loop variable inside the…
- Initialization of packed record local variables?12
I am getting compile hints "Local variable "<variable name>" does not seem to be initialized" for a number of variables of packed record type. Does not the FPC compiler…
- CGI, Handle Exceptions4
Is possible to get all exceptions in one place, in a CGI/FastCGI programs? I need to know the Request instance too, to treat the exception properly. Marcos Douglas
- Improvement to TFPHTTPClient Class4
The current version of the TFPHTTPClient (the one shipped with fpc 3.0) is coupled to the fpc's sockets framework (fcl-net) so we can't utilize other tcp connection…
- Hello,I suggest that you change the TFPGMap in fgl.2
if TFPGMap::Sorted is True, then Add method time complexity is O(n) and Indexof,Find method is O(lg n). or Sorted is False, then Add method is O(1) and Indexof,Find is…
- unable to compile 3.0.0 both Linux x86_64 and arm-linux7
I'm trying to upgrade from fpc 2.6.4 to 3.0.0 but make all fails both in Linux x86_64 platfoms and in arm-linux (Raspbian) plaform. I've downloaded a precompiled 3.0.0…
- Is there a way to interact with this list via the Web?3
Sorry, forgot to put the subject line earlier, so re-sending.
- Porting code from Windows D2007, missing Windows functions13
I am porting a Delphi2007 utility from Windows to Linux (Raspbian Jessie). It uses a unit I have downloaded from the web, which was said to support FreePascal too. But…
- Resource strings, passwords etc.17
Please excuse one of my regular silly questions. Elsewhere, a (former) Delphi programmer is uneasy having found that his binaries have had embedded SQL queries,…
- (no subject)0
Is there a way to interact with this list via the Web? By interact, I mean, both read and post messages. I have seen the main page for the list, where one can subscribe,…
- can the compiler zero any out parameter of procedure/function automatically?3
I just found the cause of a strange bug is because I forgot to zero the out parameter of a procedure like. procedure FindEvent (out TheEvent : TNotifyEvent); begin…
- OData and Office365 REST API support16
Long overdue, I have finally committed the initial version of the odata package in the FPC repository. This package provides the base for OData integration in your…
- Surprise. Comparison of method is only done on the routine address3
I always thought comparison of methods is done on both the data and the code part. TMethod = record Code : CodePointer; Data : Pointer; end; But the following proves it…
- Why is WinCE target missing the Windows IsCharAlpha() API1
Why is FPC WinCE target missing the Windows IsCharAlpha() API definition, including some others (I'll try and make a more complete list soon). MSDN: IsCharAlpha (Windows…
- Have Free Pascal 3.0.0, installing Lazarus 1.6, associate .pas files with Lazarus or not?1
[ This is my first post to this list, and I am new to Free Pascal and Lazarus, though I worked for some years, long ago, with Turbo Pascal and later, a little with…
- Verify Method Calls3
I would like to use "Verify Method Calls" (-CR), but when I choose it in the Lazarus project options under debugging, I get compiler errors such as: Incompatible type…
- FPC sources in FreeBSD9
Hello I installed FreeBSD 10.3 under VirtualBox. This is the first time I use FreeBSD. Cool! I managed to install X, XFCE and all applications I need. FPC and Lazarus…
- what is the correct way to write {$IFDEF FPC Version > 3.0}5
what is the correct way to write {$IFDEF FPC Version > 3.0} Dennis
- Using paszlib from fpc 3.0 with fpc and delphi 2007?10
I have a project that is targeting both Linux (on Raspberry Pi) and Windows. It started in Delphi 2007 and is a command line utility. It needs to use some zip…
- Is there a reactive framework for Free Pascal?5
Is there something like Rx.net for Free Pascal? Dennis
- Google AdMob for iOS0
I did a little search and didn't find any headers of iOS AdMob for FPC. It's Objective-C interface. Thus, I converted them myself:…
- Run-time checks1
I have a few questions about run-time checks. Is it possible to check class typecasts such as TMyIniFile(AnIniFile) ? Or only "AnIniFile as TMyIniFile"? If only the…
- Digital Certificate, CAPICOM2
Do you use Digital Certificate? If yes, which library/component? I'm using ACBr project http://svn.code.sf.net/p/acbr/code/trunk2/ It has CAPICOM supports (only…
- .RSJ files vs .RST files4
Are .RSJ files replacements for .RST files, or am I not understanding the point or .RSJ files? I believe .RSJ files appeared in FPC 2.6.4. Is the FPC team going to…
- How to send operating system commands (Linux on RPi)?4
I need to include the ability to switch on and off the WiFi network connection of a Raspberry Pi3 running Raspbian Jessie into my FreePascal program. The commands I am…
- What is the difference between TThread.Queue(aMethod: TThreadMethod) and Application.QueueAsyncCall(AMethod: TDataEvent; Data: PtrInt);3
Apart from the TThreadMethod and TDataEvent, what are the major differences? Are both of them thread safe to call from non-main thread? Will both of them overwrite some…
- What is a *.fpm file in FPC Trunk?2
While browsing the "packages" directory I came across *.fpm files. What are they for, and what process creates them? For example: ------------[…
