Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2009-06

  1. Re: JUNK: fpc-pascal Digest, Vol 60, Issue 12

    -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…

    Richard Jasmin
    1
  2. If an Assert fails in constructor, then destructor called (?)

    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…

    Tom Verhoeff, Inoussa OUEDRAOGO, Jonas Maebe
    10
  3. resize windows in fpGui

    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…

    kota kota, Graeme Geldenhuys
    2
  4. Height of Window Title Bar

    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

    Henrik Genssen
    0
  5. GRAPHICS HELP : PLEASE PLEASE????

    Hello,           Everyone I need some help can anyone help me and give some simple graphics code for reference.                   Sincerely,…

    Zachary Marlow, Graeme Geldenhuys, Guillermo Martínez Jiménez
    5
  6. SHA1 implementation

    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…

    Graeme Geldenhuys, Paul Nicholls
    3
  7. Insert into ... mysql

    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…

    César Espinoza, Henry Vermaak, John Coppens
    2
  8. Development for Symbian OS (S60 5th edition)

    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…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Florian Klaempfl
    11
  9. QWord/UInt64 and Range Check Errors

    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…

    Ruediger Hahn, Inoussa OUEDRAOGO, Jonas Maebe
    14
  10. BoolToStr() with correct locale output

    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…

    Graeme Geldenhuys, Giuliano Colla, Henry Vermaak
    17
  11. gtk+ linux-windows

    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…

    kota kota, Alan Krause, Graeme Geldenhuys
    12
  12. GetPropValue and Unknown property

    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…

    Antonio Sanguigni, Leonardo M. Ramé, Mattias Gärtner
    4
  13. MSEide+MSEgui rev 2.2beta1

    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:…

    Martin Schreiber, Leonardo M. Ramé
    1
  14. Name for our license

    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…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, Jonas Maebe
    9
  15. Mouse events and not waiting for them

    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…

    Richard Jasmin
    1
  16. Writeable typed constants - what's the point?

    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…

    Graeme Geldenhuys, David W Noon, Florian Klaempfl
    25
  17. object.ClassInfo.Create

    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…

    Martin, Marc Weustink
    1
  18. Rounding a Double to QWord

    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.

    Inoussa OUEDRAOGO
    0
  19. switch units depending on OS and lib version

    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…

    Marc Santhoff, leledumbo
    2
  20. Assembly error during compile

    Unknown author, Jonas Maebe
    4
  21. FastMM4 revised.

    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…

    Torsten Bonde Christiansen, Joost van der Sluis, Werner Bochtler
    3
  22. FPC on USB

    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…

    Thomas Nelson, Doug Chamberlin, Graeme Geldenhuys
    12
  23. is someone passing around the wrong sender?

    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…

    Richard Jasmin
    0
  24. Generic a "Clone" method

    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…

    Torsten Bonde Christiansen, JoshyFun, Martin Friebe
    4
  25. error in pascal program

    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 ,…

    ak za, Graeme Geldenhuys, Jonas Maebe
    4
  26. Linux USB programming using FPC

    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…

    Unknown author, Henry Vermaak, Johann Glaser
    5
  27. Catching exception generated by another program

    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…

    leledumbo, Jonas Maebe
    1
  28. PFC on USB

      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…

    Thomas Nelson, Jonas Maebe
    2
  29. rebuild FPC RTL

    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…

    Richard Jasmin, Jonas Maebe
    2
  30. Compiling Lazarus and LCL using rebuilt FPC RTL

    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

    Unknown author, Graeme Geldenhuys, Mattias Gaertner
    7
  31. About undocumented features

    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…

    leledumbo, dmitry boyarintsev, Jonas Maebe
    4
  32. GtkBuilder

    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

    appletrain
    0
  33. Gecko / Firefox / XPCOM

    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…

    Henrik Genssen, David B Copeland, Den Jean
    8
  34. optimised compiler options for "release" version

    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…

    Graeme Geldenhuys, Bee, Florian Klaempfl
    8
  35. sparse matrix storage method

    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…

    Alain Michaud, Mehmet Erol Sanliturk, Tom Verhoeff
    2
  36. Records as properties and Delphi compiler error

    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…

    Unknown author, Doug Chamberlin, Felipe Monteiro de Carvalho
    14
  37. Strange error

    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:…

    Hans Mårtensson, Graeme Geldenhuys, Vincent Snijders
    3
  38. fpmake: output directories

    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…

    Mattias Gaertner, Giuliano Colla, Graeme Geldenhuys
    19
  39. thiscall

    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…

    dmitry boyarintsev, Jonas Maebe
    1
  40. RTL incomplete builds

    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…

    Richard Jasmin, Jonas Maebe
    1
  41. Firebird +lin32 + fpc lib udf returns garbage.

    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…

    Coco Pascal, Jonas Maebe
    9
  42. DirectFB for FPC beta tarball

    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:…

    Roland Schaefer, Den Jean, Graeme Geldenhuys
    18