Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2008-07

  1. EOLESysError calling CreateOLEObject

    I created a very simple program to create a shortcut in the desktop, but it crashes with EOLESysError (nothing else in the error message). I tryed to google, but it…

    Felipe Monteiro de Carvalho, Inoussa OUEDRAOGO, Marco van de Voort
    13
  2. Translate C to Pascal

    How to translate this: struct a; Mattias

    Mattias Gärtner, Damien Gerard, Felipe Monteiro de Carvalho
    15
  3. Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

    Hello FPC-Pascal users discussions! Compilation shows me next ugly error messages during building lazarus with our components. How can I turn on move verbose outputs to…

    Roland Turcan, Jonas Maebe, Mattias Gaertner
    24
  4. Enabling FPC_HAS_FEATURE_CONSOLEIO

    I need FPC (or better, Pascal) console IO feature for my OS. That is, Write(Ln) (and possibly Read(Ln)) with variable number and type of arguments. I already have my…

    leledumbo, Florian Klaempfl, Mattias Gaertner
    6
  5. Delphi mode

    Is there another way writing this without activating Delphi mode. Carsten type tKeypressed=function:boolean; Var pKeypressed:tKeypressed; Function Keypressed:boolean;…

    Carsten Bager, Joao Morais
    1
  6. UTF-16 versions of Length, Pos, Delete etc.

    Has anybody already implemented the string utility functions like Length, Pos, Delete, Copy, Insert etc. that works with UTF-16. I'm not interested in UCS2 only support,…

    Graeme Geldenhuys, Martin Schreiber
    1
  7. fpimage font

    What is the status of the freetype font support of fpimage? I tried the following: http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawing_without_LCL which…

    Mattias Gärtner, Michael Van Canneyt
    1
  8. Enabling FPC_HAS_FEATURE_HEAP

    I already have a heap allocator implemented. The bad news is, it's implemented in a unit. The system unit defines heap functions as external (I made my system unit by…

    leledumbo
    0
  9. TextFile Hint

    I also have regularly long lists of hints warning me that my TextFile variables are not initialized. This is so because my TextFile variables are assigned through…

    Gilles MARCOU
    0
  10. freeing string equal to setting to empty string?

    I understand right that (as I have asked before) an empty (ansi)string is equal to NIL. If this is correct, is setting a string to '' the same as setting the string to…

    Marc Santhoff, David Emerson, Joao Morais
    10
  11. how to catch fpopen() output

    I have a function called fpgOpenURL(...) which contains the following .... if fpsystem('which xdg-open') = 0 then Helper := 'xdg-open' else if fpsystem('which firefox')…

    Graeme Geldenhuys, Anthony Henry, ik
    4
  12. Getting fast output

    Is there any way so that Write(Ln) doesn't flush the buffer after each call (as if it's called to write to a file, I knew it from rtl's file handling source), but only…

    leledumbo, Jonas Maebe, Marco van de Voort
    9
  13. FreeBSD FPC i386 to AMD64

    Hi! What's the steps to build FreeBSD FPC AMD64 from FreeBSD FPC i386? Is impossible? I can do it using Linux FPC AMD64 compiler? Fabio Luis Girardi

    Unknown author, Graeme Geldenhuys
    2
  14. Internal error 200502052

    I get this error when I try to compile the compiler: My OS: linux x86_64, any help will be welcome Thanks.

    jordi, Peter Vreman
    1
  15. Performance issue with dynamic arrays

    Hi all! While analyzing my project with valgrind, I discovered that almost a quarter of the cpu cycle where eaten up by the function fpc_finalize_array. It seams that…

    Volker Zipfel, Florian Klaempfl, L
    3
  16. Object Pascal & arm-linux

    I successfully ran some MSE-gui test-programs on my arm-board. To do this I used a patched fpc 2.2.0-fixes. The patch involved backporting a fix from fpc-2.3.1 for…

    Koenraad Lelong, Florian Klaempfl
    5
  17. Delphi Tiburón approach to handle different string encodings

    In the recent discussion about fpc unicode support one of the doubts was the Delphi approach to convert encodings. Maybe this article can help.…

    Luiz Americo Pereira Camara
    0
  18. FPC version 2.2.2 RC2 is out

    After some testing and fixing minor installation and other issues, RC2 for version 2.2.2 is available for testing. Downloads for major platforms…

    Michael Van Canneyt, Burkhard Carstens, Cesar Romero
    8
  19. excluding files or dirs from fpcmake packaging

    when using fpcmake to create distribution packages anything in the source dir is getting packed into the "zipsourceinstall"-package. Is it possible to exclude some…

    Marc Santhoff, Peter Vreman
    2
  20. PToP problem on 'uses' keyword

    Everytime I have a uses section in my source, PToP always thinks that the uses section never ends. For example: program tes; uses Math; procedure proc(s: String); begin…

    leledumbo
    0
  21. No need for as and ld on i386-win32?

    I've just read the buildfaq that Marco wrote and I found that under x86 (win32 and elf), FPC has internal assembler (I didn't know this before). Even under win32 it also…

    leledumbo
    0
  22. what doese shared-build do in fpcmake?

    maybe my docs are outdated, but I didn't find an explanation for this one (found in several files in the fpc packages tree): [shared] build=n What's it good for? Marc

    Marc Santhoff
    0
  23. Serial Unit for Windows

    I posted the same a week ago in FPC-devel, and did not get any feedback. I am posting the same here hoping to get some feedback :) I have made some modifications to the…

    Stephano, Michael Van Canneyt, Zaher Dirkey
    4
  24. chown on Mac OS X

    I am trying to call fpchown but it causes an infinite recursion. fpchmod works fine. This happens in all FPC 2.x versions. Any ideas? How can I recompile the FCL with…

    Tobias Giesen, Florian Klaempfl
    4
  25. Does Free Pascal generates Java bytecode

    this is silly question but I saw that is was an idea posted as feature idea. In fact, I'd like to provide some small applications that could be downloaded and executed…

    Gilles MARCOU, Marco van de Voort, Wanderlan Santos dos Anjos
    3
  26. Shared Memory

    Is it possible with Freepascal and Linux to have access to shared memory? There are 2 programs that have to communicate. How to do that? Are there examples? Regards,…

    Rainer Stratmann
    0
  27. Printing of Pointer Type

    Currently, the only way to print Pointer is to use SysUtils.Format or by typecasting it to PtrUInt first. Why not let it possible to print it directly? Any good reason…

    leledumbo, Johann Glaser, Jonas Maebe
    8
  28. HTML browser for help under Lazarus

    Whenever I try to browse the help under Lazarus, the browser used is always Konqueror, even when I am using GNOME or Xfce as my desktop. How can I configure Lazarus to…

    David W Noon, Mattias Gaertner
    1
  29. {$R file} support on non-Windows targets

    Does any version of FPC support the {$R file} syntax for resources on non-Windows targets? I'd prefer that to Lazarus's LResources unit. I have the impression that…

    Craig Peterson, Felipe Monteiro de Carvalho, Florian Klaempfl
    24
  30. Add support for MinGW GDB

    Under Windows, in sense of debugging, FP IDE is very dependent to Cygwin. Therefore, one must have Cygwin in order to have FP IDE with debugger support (if they want to…

    leledumbo
    0
  31. Preventing compiler from declaring all symbols as global

    I'm creating an OS, an it's not a good idea to let the user access some private things. They're private in FPC point of view, but they're still declared as global in the…

    leledumbo
    0
  32. FPC and Mac OS X 10.5

    Now that Mac OS X 10.5 has been (more or less) released, some notes on issues you may encounter when using FPC 2.2.0 (or earlier) on that new Mac OS X release. All…

    Jonas Maebe, Mattias Gaertner, Mattias Gärtner
    21
  33. Modula-3 or Modula-2+ vs FPC (Object Pascal)

    Years ago I remember then Modula-2+ and Modula-3 was created. Apparently Modula-3 had some very good features that were 'ported' directly into the Java language. Has…

    Graeme Geldenhuys
    0
  34. Article writers wanted.

    recently I spoke to Detlef Overbeek, editor of the Blaise Pascal magazine (http://blaisepascal.eu) and he asked me if there would be people interested in writing an…

    Marc Weustink
    0
  35. assigning a local function to a var

    I'd like to store an address of a local function in a variable, and call that local function, but I don't know how to define a variable of type "local function". Here's…

    David Emerson, Chris Cheney, Florian Klaempfl
    13
  36. Execution of shell commands from within Mac OS X Apps

    I tried to execute a shell command from a fpc program in several ways, for example with ExecuteProcess from SysUtils. This does not work, if I build a .app bundle. The…

    Karl-Michael Schindler
    0
  37. h2pas problem: multi-line macros

    Currently h2pas can't understand multi-line macros (that means, including preprocessors), even the…

    leledumbo, Mattias Gaertner
    1
  38. Webservice from .Net

    I build webservice app with .Net and connect to client app with fpc. I used wst unit. But i have problem with WSDL translate result using the Lazarus IDE. There is no…

    Unknown author, Inoussa OUEDRAOGO
    1
  39. csLoading

    This is sequel to this thread of almost two years ago: http://lists.freepascal.org/lists/fpc-devel/2006-September/008737.html Some things changed (e.g.…

    Vincent Snijders, Graeme Geldenhuys, Martin Schreiber
    4
  40. Re: Ports unit on x64 Linux port

    Well WritePortB is in x86 unit? which is abscent in X86_64 port:( I wonder if some one can write in x64 asm program like this: MOV DX,0378H MOV AL,data //data - char.…

    Vladimir Karpenko, Felipe Monteiro de Carvalho
    1
  41. Error during creation of DEB package on Ubuntu

    I have tried to build DEB package from latest snapshot and I've got this result: dh_gencontrol -i dh_md5sums -i dh_builddeb -i -- -Z bzip2 dpkg-deb: building package…

    Roland Turcan
    0
  42. Error during building DEB package

    Hello FPC-Pascal users discussions! sudo make deb NOGDB=1 [sudo] password for user: Debian version (2.2.2rc1) is not correct, expect 2.2.3 make: *** [debcheck] Error 1…

    Roland Turcan, ik
    1
  43. (no subject)

    Well of course i read that, but there is no ports unit in x64 Linux. uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, {$IFDEF WIN32}…

    Vladimir Karpenko, Csányi Pál
    1
  44. Flush(StdOut) doesn't mean Flush(Output)

    In the rtl documentation, StdOut is defined as an alias for Output. Therefore, (I think) flushing one will also flush the other. But the truth, it's not. In fact, only…

    leledumbo, Tomas Hajny
    3
  45. Ports unit on x64 Linux port.

    How can i access harware ports if there is no ports unit on Linux x64 port?

    Vladimir Karpenko, Csányi Pál
    1
  46. Standardization of Modern Pascal

    Why Modern Pascal isn't standardized? Take a look at its other brothers and sisters, for example C & Fortran. (AFAIK) C has been standardized in 1989 and 1999 (there…

    leledumbo, Adriaan van Os, Gilles MARCOU
    8
  47. Constant strings can't be longer than 255 chars

    I've got a few functions defined with 'const' string parameters. When I tried to pass a large string, I got the following error message. Why is that? I thought string…

    Graeme Geldenhuys, Florian Klaempfl, Jonas Maebe
    4
  48. SocketError

    I have a simple TCP program and I want to see when the client breaks the line. With the 205 compiler this is not a problem SocketError tells me, but with the 220…

    Carsten Bager, Marco van de Voort
    3
  49. Localized version of my application

    Hello! I have installed Lazarus Version #: 0.9.25 beta Date: 2008-06-18 and FPC Version: 2.2.0 SVN Revision: 15441M i386-linux-gtk 2 (beta). I made a small project with…

    Csányi Pál, Mattias Gaertner
    2
  50. dynamic libs linux

    How can I create and load two dynamic libs A and B under linux, that depend on each other (B uses A)? For example: libmy_lib1.so contains the unit lib1unit1.pas with…

    Mattias Gaertner
    0