fpc-pascal · 2008-09
- TObject4
A have a unit (uSafeVar) with an object. The object has a property "data" of the type "SafeVar_typ" If I do this it works (wSafeVar is called) var p:SafeVar_typ; begin…
- Re: command-line+Carbon template1
Thanks, Jonas -- Actually, I dealt with that potential source of anomalies way back in the original CodeWarrior version: the Pascal code opens and writes out to the file…
- Carbon: i386 and PPC API differences3
I use Xcode to find samples of codes and try to make it work on FPC/Lazarus. One example opens an AUGraph and send MIDI messages - a small sample. It calls…
- [RFC] Modification to packages/paszlib/src/zipper.pp5
With reference to this thread.. http://www.nabble.com/FPC-Zip-library-td15145102.html and the resulting bug entry.. http://bugs.freepascal.org/view.php?id=10787 I had a…
- external variable1
Is ist possible to declare a external variable like in C? In the Cocoa headers there are some variables declared as external, like this: APPKIT_EXTERN NSString…
- Random crashes in i386-macosx in PasCocoa3
I am getting a very strange crash, in a place of my code which never hat problems before. The exact same code works in another PasCocoa example, and even the same code…
- Ansistring not being freed on Halt(1)2
I'm chasing an issue with a program I have that is leaving an Ansistring unfreed on exit. It exists cleanly without using halt(), but this is the the only way I've…
- Use Free Pascal on Pandora handheld game console9
Hello. I was looking in the maillist archive but I didn't find an answer. Did somebody planned to compile, test and release FPC for the Pandora handgeld game console?…
- FPC 2.3.1 on Mac OS X?7
I've read that there are some issues with FPC 2.2.0 on Mac OSX. Is it save to install version 2.3.1 already ? Paul
- Re: command-line+Carbon template1
I didn't describe the problem I was experiencing becasue it seemed unlikely that anyone else would ever find themselves in this particular bind. That, and it didn't seem…
- Darwin/i386 target1
Is there a way to compile for the Darwin/i386 target using a native Linux/i386 compiler and cross binutils rather than building a crosscompiler? This target seems to be…
- command-line+Carbon template?3
I'm porting a rather larger CW app to FPC under MacOSX 10.4.11, and am trying to work around some rather flaky behavior I'm seeing with FPC's Turbo-based file i/o -- by…
- FreeBSD/x86_64 snapshots8
The first snapshots of x86_64-FreeBSD are rolling in: a 26MB snapshot is available at (all binaries, just needs a fpc.cfg)…
- Debugging a darwin cross-compiler3
Still on the trail of the serial unit issue. Think I have it working (it's working perfectly on OSX PPC and all my variants of Linux) but I can't seem to generate valid…
- FPC IDE on Windows: Configuring colours2
Hi If this is the wrong list for asking about the IDE, I would be glad if you could point me at the right list. I use FreePascal for occasional programming. However,…
- Re: Can I make this with Free Pascal?18
It can even make OSes, what's so hard to build a CG apps? Well, you've seen it. So, it's possible. View this message in context:…
- Help converting h-file21
I want to convert a h-file of a c-library and h2pas has problems with it. The file contains "static inline" functions. A second problem is the "volatile" keyword that's…
- Building latest SVN2
Hello FPC-Pascal users discussions! It stops with message: but it is uncomfortable to rollback to latest release to build up latest SVN. There must be "nicer" way, but…
- Serial port access on Darwin PPC4
Can any Mac people tell me why FHandle := fpOpen(Port, O_RDWR or O_NOCTTY); (Where FHandle is a longint and port is '/dev/tty.usbserial-A400379A') .. just locks up…
- xforms5
i am a newbie and tryng unsuccesfully to compile and run xforms example getting only this message: .... Compiling pushme.pp Linking ./pushme /usr/bin/ld: cannot find…
- Bus error in ARM architecture4
There was a presentation about ARM in my university and I asked them about the errors when accessing unaligned memory. The good news is that they said that the latest…
- Can't resize form in WinCE12
I'm trying to show a small form, but it always shows full screen in WinCE. Isn't this possible at all? Paul
- Next stabel installation for WinCE ?3
When will there we a new stable installation release for WinCE ? For the moment, I've given up FPC/Lazarus and ordered VS2008. I removed the current installation and…
- BLOCKWRITE-restrictions in writing .bmp-file?2
Hi! About 1 year ago, I had this excellently working UNIT of bitmap-picture handling routines. Today I wanted to use them again, but the result is crappy. I was…
- Small OSX GUI apps6
Hi I use KOL (http://kolmck.net) with FPC on Win32 to produce small (exe size) gui applications. I am a complete newbie to all things Mac and OSX. Is there a similar…
- TThread.WaitFor not returning?7
I have a thread based logging framework (part of tiOPF). I created a "Log to GUI" viewer for the log framework using fpGUI toolkit. While the application runs, the…
- Binary compatibility between Intel CPU and PowerPC CPU7
Hello FPC-Pascal users discussions! What is the best way to keep the binary compatibility among different CPU architectures. I need to make our own database engine…
- FPC for FreeBSD AMD64?10
Are there any plans for a FreeBSD AMD64 version? Sometime ago I tried to work on this and since I am not very familiar with FPC yet I could not get very far. If there…
- cwstrings and uclibc17
There was a discussion among lazarus developers about what kind of problems adding the cwstrings unit (libc widestring manager) for all UNIXes could bring. Are there any…
- WindowFromPoint1
which unit do I need to call this function (WinCE) I found it in wincewinapi.inc, but can't find the unit to use. Is there a way to search this, checking all units is…
- Typechecking problem porting from D72
Hi guys - after a decade using Delphi, I finally switched to FPC! I like it a lot, so far. Porting some code, I am stuck with something that looks trivial, however, and…
- WinCE simulate touchscreen click2
I'm trying to simulate a click on the screen. I thought I could use mouse_event, but when I call mouse_event from a button, the button begins to flip…
- String and Multithreading...and why i even thought about this0
@Florian,@Jonas, of course you are both right, there is a race condition. I was looking for some inspiration for some sort of garbage collection for a (simple) script…
- Strings and Multithreading (case)2
I thought about usings Objects in Multithreaded objects and had a to get some inspiration. I had this problem: one global string two threads lets say, both threads set…
- Strings and Multithreading, possible Solution.0
A possible Solution to the potential error in astrings might be to use interlockedexchange (for pointers) Attempt: Procedure fpc_AnsiStr_Assign (Var DestS : Pointer;S2 :…
- DateTimeToFileDate7
When I do this Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 --------------------- Program tt; sysutils; function strPackTime(t:longWord):shortstring; var…
- WinCE api calls info18
where can I find a list of available api calls for WinCE/Arm ? I need to make a screenshot, set the cursor postion and inject keypresses. Paul
- Unable to authenticate to update entry in "contributed units"1
I just added an entry to "contributed units" (Kambi VRML game engine). Of course, two seconds later I wanted to correct it. But I can't --- looks like I cannot…
- PACKENUM and MINENUMSIZE6
Hi! Could anyone help me determining the defaults for MINENUMSIZE / PACKENUM? As far as I could find in the docs it depends on $MODE: for $MODE OBJPAS it's 4 but I…
- UIB on Linux X86_641
Another problem occured: When using UIB with fpc on X86_64 field values are always empty (for strings) or 0 (for integers). For demonstrating the problem I created the…
- Install FPC/Lazarus for Win CE17
I want to install FPC/Lazarus for Win CE, and since I have still problems with it on the iMac, I want to be sure I'm doing it right the first time. I've printed info…
- detecting and accessing a properties 'stored' value via RTTI1
I need to find out if I need to store a property value or note. The property is published and has the 'stored' directive / storage specifier. I know how to test if the…
- fpdoc - Is there tag for function parameters?1
Hi. I use fpdoc to generate documentation. I want to be function parameters documented also, But I affraid fpdoc doesn't support it yet. Here is what I have in html…
- "Invalid field size" when using UIB with fpc 2.3.12
Hi! Just had to upgrade to fpc 2.3.1 for some reason. But using fpc 2.3.1 UIB produces an "Invalid field size" error when trying to open a UIBDataset. The same program…
- Exe size34
I'm testing with FPC/Lazrus on Windows now, but a simple program results in 11.5 MB size. I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options (Lazarus),…
- How to customize a TDBMemo2
I am using a TDBMemo with a TSdfDataset, but this database uses newlines to separate the records, so it's impossible to store data with multiple lines. So I thougth that…
- package help & site bug3
In the search of a .deb package for my ibook G4 (ubuntu) I've just noted that the page: http://www.freepascal.org/down/powerpc/linux-ftp.freepascal.org.var write about…
- License question; unit to view floating-point details12
I have a created a unit FloatView to help you inspect in detail 32-bit (Single) and 64-bit (Double) IEEE 754 floating-point values (in case "every bit counts; note that…
- Speed difference between intel/ppc on intel Mac3
I have an Intel-based MacBook Pro. Until recently, I still used a PowerPC version of FPC. PowerPC code on this machine runs through (invisible) emulation. However, I…
- Using TSdfDataset9
I am trying to use TSdfDataset, but without success. I get the following crash: Breakpoint 1, 0x0000f386 in fpc_raiseexception () (gdb) bt #0 0x0000f386 in…
