fpc-pascal · 2012-05
- fpimage blur9
Is there a function to blur an entire fpimage or a rectangular area? Mattias
- large TFDSet in windows, select() and FD_XXX() functions - will this work?2
I'm going to experiment with something like this: https://gist.github.com/2842807 Am I calling for trouble, did I forget something? According to some Google searching it…
- Cross compiling x86_64 on i386 Linux.12
Is it possible to cross-compile a Linux/x86_64 target on a Linux/i386 host? AFAICT it should be possible and I've almost got it working (using Debian's gcc-4.4-multilib…
- fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc7
I'm glad to announce the next release of fpGUI Toolkit. fpGUI v0.8 ---------- An archived source download and pre-built binaries for DocView (fpGUI's Documentation…
- I need an lNet expert: multiple connections and only one central CallAction() - is this possible?4
This is a pure fpc project, no LCL. If I have understood it correctly then I have to call the CallAction() method for every connection I have created but this seems to…
- clarification about StackBottom and StackLength in threaded programs and/or shared libraries0
Hey, guys. I hate to crosspost but nobody answered me in fpc-devel so I thought I'd try it here. Here's my original email from…
- Debug information11
How to get debug information? There is an error, but only adresses are shown. I put on debugger Information in Lazarus (-g) but can get no further infos when an error…
- Streaming of Generics4
I want to find a way to write a streaming mechanic for Generic data structures. For simplicity let's assume that I want to write a class or function to stream TFPGList…
- Error in x32 compiler when using SSE36
I'm compiling the program at the end of this message in x86 and x64 mode using the following command lines: ppc386 -MDelphi -CfSSE3 testFPU.dpr ppcrossx64 -MDelphi…
- Linux elf with signed checksum2
I see that most of the ELF on my system, contain a signature like so: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for…
- fcl-web: custom URL dispatcher/mapper0
By default, fcl-web uses the following dispatching schema: <host>/<module>/<action> Is there anyway to customize this behavior? View this message in context:…
- have anyone binded librsync to pascal yet ?1
Is there anyone who binded librsync into Pascal/FPC ? Ido
- Parameters to Format()3
How should I put this? procedure TUnyokedFrontendForm.OutputWriteF(const str: widestring; values: array of variant; fg: TColor= clBlack; bg: TColor= clDefault); var …
- Proposed FPC database example code: request for testing2
I've created a small SQL*Plus/isql/osql/sqlcmd clone, pasql. It lets you connect to a database and run select queries as well as queries that don't return a dataset. It…
- TList Notify count changed2
In TList how can i notify if Count is changed with New and Old values as like in SetCount, SetCount procedure not virtual? procedure SetCount(NewCount: Integer); I am…
- Re: fpc-pascal Digest, Vol 95, Issue 210
Bien Miguel, estos son los costos: Ya esta colocado en la WEB 24/05/12 Cambio: texto Banner Promociones S/. 5.00 24/05/12 Actualización: Promoiocnes S/. 15.00…
- TimSort20
Is there already a TimSort implementation in fpc? http://en.wikipedia.org/wiki/Timsort Mattias
- Catching math exceptions in a DLL6
Using FPC, I'm writing a DLL that exports functions used by a given host process. In order to protect the host process, it is mandatory that all exceptions are trapped…
- TP 4 to FPC 2.6.0 conversion0
My conversion of TP 4 programs into FPC 2.6.0 to obtain hi res graphics on Win2000 OS is almost complete. My program starts in a VGA type window requesting a keyboard…
- 2.6.0 for Solaris?43
Hi, I was looking to try FPC but I saw the latest release isn't available for Solaris, only 2.4something. Do you guys plan on releasing the new version on Solaris? Do…
- Unicodestrings and Assign(File)35
Is it (already) possible to use Unicodestrings for file paths? I was able to access long paths (with many hundreds of characters) in the windows API functions…
- You can probably ignore this0
It seems I have to post twice or nothing shows up to the list!
- Can't install FPC on mac bookair 10.7.41
Dear I can't install FPC compiler on mac 10.7.3 Please see attachment files Thank you Chovav P.S. -http://www.lazarus.freepascal.org/index.php/topic,16125.0.html
- Darwin i3864
I'm having a hard time with GDB and debugging threads on a OSX 10.7.4 with fpc/trunk The shipped gdb worked great with the exception of threads calling methods via…
- FPMake configure script0
I've been playing with a configuration script for my project some time now. What started as a simple compiled application, it has changed into a instantFPC script. Today…
- Extend multiple classes with same code10
I have 2 objects inherited from the base one T_A = class(TObject); T_B1 = class(T_A); T_B2 = class(T_A); T_B3 = class(T_A); Now if I want to extend T_B1 it is easy to…
- FSplit is deprecated3
unixutil another deprecated function that has not written any hint towards its replacement right behind the 'deprecated' keyword (where it would belong). The RTL…
- Handling with sources and exebutables with different names5
I am compiling CGI modules with Freepascal in commandline mode. if I do: fpc test.pas the result is "test.exe". But the source name needs to be different from the…
- Unicode support1
I wanted to ask what the present state of unicode support is now. I'm running into problems with some various strings. Sometimes when a string contains a unicode…
- Strange compile error6
I have a simple application that uses glut and opencv. However as soon as I add the opencv wrapper unit to the uses clause I get: video.pp(10,1) Fatal: Syntax error,…
- Setting string to be UnicodeString by default8
Is there a way to force the string type to be an alias to UnicodeString instead of AnsiString as it is by default? I tried the obvious "type string = UnicodeString" but…
- Linux sound (especially MIDI) programming: ALSA?7
Has anybody used FPC to control ALSA on Linux? I need to filter a MIDI stream in real time, and handle transposition etc. If anybody knows of useful resources I'd…
- Parsing parameters inside an interpreter7
I trying to build a very small interpreter. I can type commands like: $ add "Luciano de Souza" Somewhere in my code, I can have something like: procedure…
- Adding USB library to FPC0
I have seen several header translations of the various libusb variants (0.1, 1.0 & win32) scattered on the web and forums. I have also noticed several dead links, a…
- FpProfiler patch to compile with fpmake1
I'm not sure if anyone is actively watching the Mantis issues for FpProfiler, so I thought I'll mention it here: I submitted a patch to fix the compilation with fpmake…
- converting c code4
I'm struggling to convert a simple for loop from C to pascal. The code is shown below (as is a trace of the loop parameter values). I'm a bit puzzled how this should…
- FPC and (minimal) telnet0
I'm using the ltelnet unit to good effect in a special-purpose terminal emulator which doesn't merit e.g. Synapse, although since it's not part of the the fcl I'm having…
- FPC + valgrind massif problems4
I wanted to debug where my program uses the most memory. (There are no memory leaks, but I want to optimize memory usage on some large inputs. As the code is quite…
- Runs correctly when debugging.7
I'm working on a wrapper of a C library. I've found a bug, but I can't debug it with GDB because if I compile with "-g" and link with the debug version of the library…
- fpc & arm-embedded interrupts1
I'm working on an embedded-arm application. I do want to use interrupts but I don't find how to easily setup the interrupt-handlers. In the startup code in C, I see…
- SIGFPE with SameValue()4
Hi List. I have discovered the following strange bug/problem. Please check out the following program and tell me which part is right or perhaps what i'm doing wrong in…
- Assigning absolute record to variable1
I hope I can make myself clear. I'm making a driver to control an LCD with an STM32 microcontroller, using fpc-embedded-arm. I want to make my driver re-usable, i.e. I…
- ObjectBinaryToText - how to write only selected property?6
ObjectBinaryToText method can save object structure to string, but how save only some propertys? I could use RTTI and TypeInfo, but ObjectBinaryToText can parse property…
- cross compiler linker issue win32 to Linux0
I have the cross compiler setup(win32 to linux) and I can compile most of my apps just fine except for one that is a daemon and uses cthreads and cmem in the uses. It…
- Reversing bit-order of byte15
I'm porting a driver, originally written in C, for an LCD to be used with an embedded arm-processor (STM32). The original driver uses SPI, my driver will use a USART in…
- InstantFPC and argv25
I'm creating a script to be executed by instantfpc when I noticed that paramstr(0) does not reflect the location of the script but the location of the cached executable.…
- Writeln in embedded systems2
I have been experimenting with compiling to an embedded ARM platform I succeeded in compiling with a minimum system unit. Now the ARM processor can blink with a LED. I…
- TBufDataSet: ApplyUpdates6
I saw the TBufDataSet.ApplyUpdates and it calls ApplyRecUpdate. The ApplyRecUpdate just raises an exception... There is some implementation, in some place, to work with…
- c to pascal converters2
I'm in the process of converting an old MSVC6 application to FPC/Delphi, so I'm thinking about using a c to pascal converter. The code is older 6-10kloc, and is plain C…
- Errors compiling FPC trunk r21192 x86 windows & existential questions3
Seem to be having some problems compiling FPC trunk r21192 x86 windows (see below). However, x64 build does work. Is this a known problem? Should I keep pestering the…
