fpc-pascal
Subscribe to this list Your subscription
Latest threads
- code optimization23
I am currently trying to get the fastest possible code from fpc on a modern CPU (Intel Xeon) under Windows XP. I use the compiler options: fpc -Mdelphi -O3 -OpPENTIUMM…
- Is Delphi7 on Windows to FPC on embedded Linux possible?5
This may be a stupid question, but I just discovered FPC so please bear with me... I have been writing Delphi programs since 1996 or so (when Delphi 2 was released), so…
- Questions regarding arrays11
I'm have some tough times with arrays (I use them very little). With trial and error I found that to use a pointer to an array of int32 values returned by a C API (Xlib…
- Mantis for fpcprojects2
Can someone from the core team advise how to handle bug reports/ feature requests for fpcprojects? Darius
- TEventLog.FileName : Hot to do an append to existing log file2
I'm not understand how to use unit Teventlog to no create each time a new file but to append to an existing log file. I want to do something like: …
- TEventLog.FileName location: Change default file location for filename without change unit code.3
I'm using FPC 2.2.4 with Lazarus. The unit eventlog is great for logging events. SO i use it. My question is how to change the default location for the filename for…
- 1
- Basics of profiling14
Does anyone have a link or some info about basic info for doing profiling in fpc apps? Basically I would like to know how many miliseconds does my app spend in a couple…
- Interface with NASM14
I need to teach assembler, and the easiest way would be to create a driver and simple I/O library in high level language that can be called from assembler so that…
- "Error: Impossible operator overload" ...why?3
I'm using FPC 2.4.3 Why is the following operator overload not allowed? Sometimes TfpgColor can be a RRGGBB value (eg: clRed), and sometimes it is an index to a color…
- Command line or CGI Printing5
Hi, I'm looking for a way to send images to a printer without using the Printers unit. I can't use it because it relies on X (on Linux) and I need to print from a CGI or…
- Help translating C++ to Object Pascal4
In a C++ method as shown below, does the '... return True;' immediately exit the HandleClientMessage method, or will it still continue processing the remainder of the…
- Nesting3
A new Lazarus review : http://delphimax.wordpress.com/2010/09/13/freepascal-and-lazarus-success-or- failure/ has this comment about Lazarus source: --- Abundant use of…
- heap size & free heap0
Hi Maybe someone here knows... I built Lazarus with "-gh", started it and closed without doing anything else. --- Heap dump by heaptrc unit 717866 memory blocks…
- Question mark?9
In the following program: {$ Codepage UTF8} var str: string; Begin Readln (str); Writeln (str) End. When I enter the following: €uro, shows me: ?uro. The console uses…
- How to download fpc242 rc1 (to test a possible bug)4
I noticed that there's a folder for fpc242 rc1 in ftp://ftp.freepascal.org/pub/fpc/beta/ Trying to access gives an error 550 The reason to get the 242 version is to test…
- What is wrong with this enum and array related code5
program testnums; //{$APPTYPE CONSOLE} uses Classes, SysUtils; type stType = (stLite := -100, stDb, stBothLite, stBothDb); //settings location Type stTypes = Array…
- Can freepascal use negative enum values1
Can freepascal use negative enum values, eg type anyType = ( a:= -10, b, c,d,e) so that b,c,d,e are -9 to -6 ? Frank Church =======================…
- HookSignal, "halt", and unhandled exceptions2
Greetings! An interesting problem I've run into: Under Linux, I have a small example program written in C (we'll call it cprog) which uses a FPC-compiled shared object…
- COM/OLE with fpc 2.5.10
Dear list Can someone summarize the status of COM / OLE in Windows using recent versions of freepascal? As far as I got: COM clients are possible since 2.4.0. You can…
- Generic B+Trees, Lists and Vectors1
With tests and documentation. Requires trunk FPC. Download: http://code.google.com/p/fprb/
- Anybody know X11 and XDND (drag-n-drop)4
I'm having trouble fetching the XdndTypeList data. It works 100% on my 32-bit Linux laptop, but now trying on my 64-bit Linux desktop at work, the XGetWindowProperty()…
- Apple development tools4
I've just had my attention drawn to this elsewhere, and thought it would be of general interest. "In particular, we are relaxing all restrictions on the development…
- CRelocateThreadVar called from fpc_pushexceptaddr/fpc_popaddrstack2
The documentation (http://www.freepascal.org/docs-html/prog/progse46.html) indicates that "RelocateThreadVar is called each time when a thread is started, and once for…
- Request for a look at sqldb Firebird database code0
Still wrestling with my locate clone at (download source+exe) http://bitbucket.org/jb/flocate/get/tip.zip I've hit some interesting behaviour: running 64 bit embedded…
- a few more heap questions0
A while ago I asked a question on this list: To which Jonas replied, helpfully: I need to understand a few more things... I'm still a little confused at how this works.…
- Destroy vs Free: Memory Leak?4
I have a TestCase that has this issue. If I call obj.Free, I am unable to step into the Destroy method and heaptrc indicates a memory leak. If I call obj.Destroy…
- R: Re: Mac osx callback functions parameters: wrong values in 386 mode.0
Thank you very much for your help. Regards Francesco ----Messaggio originale---- Da: Data: 06/09/2010 18.13 A: "", "FPC-Pascal users discussions" Ogg: Re: [fpc-pascal]…
- SNAPI Driver and USB HID6
Hi! I've bought a barcode scanner (Symbol MS4407) with an USB interface and want to use that with Linux. Unfortunately Motorola (who bought Symbol a few years ago) do…
- stdcall on win64?2
stdcall calling convention is for Win32, right? E.g. function Test: HRESULT; {$IFDEF WIN32}stdcall;{$ENDIF} By using $IFDEF like that, will the code also work in Win64?…
