fpc-pascal · 2009-06
- Re: JUNK: fpc-pascal Digest, Vol 60, Issue 121
-snip- agreed. This looks like TMemory manager reimplementation from the unit called via the system unit.[an include somewhere.don't ask me which one, I have been over…
- If an Assert fails in constructor, then destructor called (?)10
While tracing a nasty bug (?), I discovered the hard way that when an Assert is done in a constructor, and it fails, then the destructor (Destroy) is automatically…
- resize windows in fpGui2
How can i make a window to shrink instead of losing its elements(buttons, labels) when it is being re-sized ? (with losing i mean that a button which is placed at the…
- Height of Window Title Bar0
how do I determine the hight of a title bar of a form (where the caption goes as well as minimize, maximize btns, etc.) on WinCE? Hight and ClientHight are equal. regards
- GRAPHICS HELP : PLEASE PLEASE????5
Hello, Everyone I need some help can anyone help me and give some simple graphics code for reference. Sincerely,…
- SHA1 implementation3
Does FPC contain a cross-platform SHA1 algorithm implementation? I used Lazarus IDE's "Search in files" feature across the whole FPC 2.2.5 and saw some references to…
- Insert into ... mysql2
Hi all !! I did! I can now connect and query to mysql fpc 2.2.4, console, Macosx 10.5 leopard, Mac book Intel But I can't (may be I dont know :-( ) insert data in a…
- Development for Symbian OS (S60 5th edition)11
Does FPC support the above OS? I purchased a while back a Nokia 5800 phone and would like to try and write some fun utilities for it. It's just unfair that the iPhone…
- QWord/UInt64 and Range Check Errors14
I am just wondering if this is a bug: Can anyone tell me why I get a "range check error while evaluating constants" with the following simple program: <code> program…
- BoolToStr() with correct locale output17
I'm busy translating our projects. fpGUI Toolkit uses it's own translation via .po files (similar to Lazarus projects). But now there are some output that is not being…
- gtk+ linux-windows12
hello everybody. I am a new user of freepascal and i need some help. I have made my first GTK+ program that runs fine in linux(Ubuntu 8.10) but i encounter problems in…
- GetPropValue and Unknown property4
I'm trying to derive a new class TSortFtpSend from synapse TFtpSend class, which implements a quicksort algo based on published property passed to this method. I'm…
- MSEide+MSEgui rev 2.2beta11
There is a first beta of MSEide+MSEgui rev. 2.2: https://sourceforge.net/project/showfiles.php?group_id=165409 Questions and bugreports please to NNTP:…
- Name for our license9
Often I need to tell anyone it's a good option to use the license from the FPC RTL, but this license has no unique name, which leads to the ackward need to use…
- Mouse events and not waiting for them1
will post to the board as soon as I get my other data from my tower off of it.spilled coffee on the keyboard again. --- You shouldn't be using CRT unit anyway.Use my…
- Writeable typed constants - what's the point?25
Recently I learned that you can have writeable typed constants. That sounds rather like an oxymoron to my. Writeable constants make no sense, is that then simply a…
- object.ClassInfo.Create1
Just got a question, to ensure I understand thinks correctly. Let's start with stuff I definitely know (or think so). Destructors are virtual/overriden, because they are…
- Rounding a Double to QWord0
Hi Is there a way to round a floating point (Double) value that is larger that High(Int64) to QWord ? Note that Round() returns a Int64. Best regards. Inoussa O.
- switch units depending on OS and lib version2
Hi! There is a pascal wrapper for a library. The library comes in different versions. The library is specialized per operating system. How can I make fpc pick the right…
- 4
- FastMM4 revised.3
Hi. I found in the fpc-pascal archive a short thread on someone converting FastMM4 to FPC. Does anyone know if this succeeded or if the curret (4.92) version of FastMM4…
- FPC on USB12
Sorry the proper subject should have been FPC on USB From: Thomas Nelson Subject: PFC on USB To: Date: Saturday, June 13, 2009, 8:47 AM I would like to put the FPC…
- is someone passing around the wrong sender?0
The server keeps bouncing list replies for some reason. No, I dont think on second thought that last message was me.Yes, I did at one time reply all.Will take under…
- Generic a "Clone" method4
Hi. I was wondering if it is posible to make this type of construct for creating a generic Clone method: (I put it in pastebin): http://pastebin.com/fb495ed7 Explained…
- error in pascal program4
Hello I use turbo_pascal language for learning. I write a program (T3ch18.pas) which use two units – (Uadd_pro.pas) and (Un3ch 18.pas). In unit Uadd_pro.pas ,…
- Linux USB programming using FPC5
I'm interested in exploring the USB interface from within Linux using FPC. I have looked at libusb and am aware of the functionality which it exposes. I would appreciate…
- Catching exception generated by another program1
Suppose I have a program written in C: #include <stdio.h> int main() { return 1 / 0; } and a Pascal program that calls it: program prog; {$mode objfpc}{$H+} uses…
- PFC on USB2
I would like to put the FPC development environment (including fpgui) on a USB. I live in the windows environment and would I am trying to find the proper…
- rebuild FPC RTL2
HOw exactly is this done? I cant seem to get string copy routines to catch right for some reason and I'm almost there.I'm trying to weed out unnecessarey includes on a…
- Compiling Lazarus and LCL using rebuilt FPC RTL7
Assuming that a FPC RTL rebuild has succeeded, can somebody please describe the process of rebuilding Lazarus and the LCL using the new FPC RTL? Nino
- About undocumented features4
I just read the recent documentation and found some undocumented features, such as slice, strict, and dispinterface. Can anyone explain what they are? And are there any…
- GtkBuilder0
Now that Glade 3.6 is out, is there any chance of implementing GtkBuilder in Free Pascal in lieu of libglade for Gtk development? Gary
- Gecko / Firefox / XPCOM8
I am trying to use the gecko libs from http://sourceforge.net/projects/d-gecko with lazarus. i get the following errors: Hint: Start of reading config file…
- optimised compiler options for "release" version8
I saw the following options recommended by the ExtPascal project for a final "release" build of ones project. Does this really make a difference in speed/performance and…
- sparse matrix storage method2
would someone know of a procedure for solving a system of linear equations using a SPARSE MATRIX storage model. if one uses the usual: array [1..10000;1..10000] of…
- Records as properties and Delphi compiler error14
Is there a reason why the following code fails to compile in Delphi but compile in FPC? Could the reason be that FPC allows the use of global properties? Tested with…
- Strange error3
When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message:…
- fpmake: output directories19
fpmake uses as ppu output directory for example: units/i386-linux/ And there is no way to change this. Right? Some LCL packages have different PPUs per widgetset, so…
- thiscall1
hello! does FPC supports thiscall convention, at least for windows COM Interfaces? http://en.wikipedia.org/wiki/X86_calling_conventions#thiscall Yes, i know, microsoft…
- RTL incomplete builds1
Is there anyone that has gotten around the string/ansi char and getmem build phase? I seem to be stuck in a recursion loop with the getmem/sysgetmem routines and the…
- Firebird +lin32 + fpc lib udf returns garbage.9
If I build a library with udf functions for Firebird tests with an fpc app calling those routines works fine. However with Firebird module and entrypoint are found but…
- DirectFB for FPC beta tarball18
Hello. There wasn't much feedback to our previous anouncement. Anyway, now there is an FPC-DirectFB tarball which can be downloaded from our SourceForge page:…
