fpc-pascal · 2008-07
- EOLESysError calling CreateOLEObject13
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…
- Translate C to Pascal15
How to translate this: struct a; Mattias
- Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC24
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…
- Enabling FPC_HAS_FEATURE_CONSOLEIO6
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…
- Delphi mode1
Is there another way writing this without activating Delphi mode. Carsten type tKeypressed=function:boolean; Var pKeypressed:tKeypressed; Function Keypressed:boolean;…
- UTF-16 versions of Length, Pos, Delete etc.1
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,…
- fpimage font1
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…
- Enabling FPC_HAS_FEATURE_HEAP0
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…
- TextFile Hint0
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…
- freeing string equal to setting to empty string?10
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…
- how to catch fpopen() output4
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')…
- Getting fast output9
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…
- FreeBSD FPC i386 to AMD642
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
- Internal error 2005020521
I get this error when I try to compile the compiler: My OS: linux x86_64, any help will be welcome Thanks.
- Performance issue with dynamic arrays3
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…
- Object Pascal & arm-linux5
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…
- Delphi Tiburón approach to handle different string encodings0
In the recent discussion about fpc unicode support one of the doubts was the Delphi approach to convert encodings. Maybe this article can help.…
- FPC version 2.2.2 RC2 is out8
After some testing and fixing minor installation and other issues, RC2 for version 2.2.2 is available for testing. Downloads for major platforms…
- excluding files or dirs from fpcmake packaging2
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…
- PToP problem on 'uses' keyword0
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…
- No need for as and ld on i386-win32?0
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…
- what doese shared-build do in fpcmake?0
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
- Serial Unit for Windows4
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…
- chown on Mac OS X4
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…
- Does Free Pascal generates Java bytecode3
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…
- Shared Memory0
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,…
- Printing of Pointer Type8
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…
- HTML browser for help under Lazarus1
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…
- {$R file} support on non-Windows targets24
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…
- Add support for MinGW GDB0
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…
- Preventing compiler from declaring all symbols as global0
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…
- FPC and Mac OS X 10.521
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…
- Modula-3 or Modula-2+ vs FPC (Object Pascal)0
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…
- Article writers wanted.0
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…
- assigning a local function to a var13
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…
- Execution of shell commands from within Mac OS X Apps0
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…
- h2pas problem: multi-line macros1
Currently h2pas can't understand multi-line macros (that means, including preprocessors), even the…
- Webservice from .Net1
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…
- csLoading4
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.…
- Re: Ports unit on x64 Linux port1
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.…
- Error during creation of DEB package on Ubuntu0
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…
- Error during building DEB package1
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…
- (no subject)1
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}…
- Flush(StdOut) doesn't mean Flush(Output)3
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…
- Ports unit on x64 Linux port.1
How can i access harware ports if there is no ports unit on Linux x64 port?
- Standardization of Modern Pascal8
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…
- Constant strings can't be longer than 255 chars4
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…
- SocketError3
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…
- Localized version of my application2
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…
- dynamic libs linux0
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…
