fpc-pascal · 2006-10
- low level disk access under Windows1
Hello, I'd like to ask if someone has experiences with low level disk operations in windows with FPC. The program should be able to copy entire diskete to one single…
- Linux Install: Is it me or the documentation? ;-)9
First let me say how pleased I am to discover FreePascal. 'Twas my favourite programming language way back around 1988-89, being the last time I put my serious…
- ROPS and latest FPC compiler (svn)15
I'm running into strang ROPS behaviour when using the latest compiler in svn. Is there a compiler switch required for it to work ok? Using revision 3823 I have no…
- Linux library access violation4
I get an "Access violation" when I call a function from a C library. Not sure if I can explain well enough, so I will just post the code: The C library: #include…
- Makefiles vs Pascal Automation4
In many cases makefiles take about just as long to create as shell scripts or pascal programs - they just offer a nice framework to automate compiling in an easy way -…
- Rename executable extension MAKE or FPC2
Hi all, it's been a long time.. but I have a question. Is there any way tell FPCMAKE to rename all PROGRAMS to have a different extension? Example: On Windows:…
- Order of {$H+} and OBJFPC5
{$H+}{$MODE OBJFPC} Results in short strings with fpc-2.0.4, and long strings with previous compilers. Is this a bug fix, or a new bug? - Jeff
- TypInfo Error: type identifier not allowed here1
Why do I get this error? /tiOPF/UnitTests/Common/tiDUnitUtils.pas(231,32) Error: type identifier not allowed here It works on other enumerated declarations, but not on…
- win resource sections4
could you tell what progress (approximately in percents) is done with Windows exe resource sections support, please? Herewith i want to note that login status label in…
- I think I must be the first person to ever use tmemds for anything serious...0
I think I've just found my 3rd bug in the unit. for me, it always says true when booleans are returned with .asBoolean, and as empty strings when returned with .asString…
- Compilation error with compiler abort2
Hi ! I'm developing a program in FPC. The success of this project will define the use of FPC as a approved tool here in my job. Suddenly I became to receive a strange…
- Qt4 binding ported to 64bit3
FYI: thanks to a patch from Giulio Berna, the Qt4 binding now also works on 64 bit platforms ( ifdef _LP64... ) Important note from Giulio: there is a bug on fpc 2.0.4…
- XSLT library2
Is there a XSLT library included with FPC. I did have a look and couldn't find anything, but thought I would ask to be sure. Otherwise, has anybody ever use the…
- FPC 2.0.2 vs 2.0.4 xmlread3
I had an old application that worked fine with 2.0.2 but doesn't work with 2.0.4. The problem is that it reads XML and then uses the data to do some processing.…
- typed constants...5
is this bit of syntactic weirdness a fpc element, or from delphi. I've largely been away from pascal since the early 90s, mostly only using it to write dos-y…
- fpc arm crossbuild error0
I have removed the FC5 rpm versions of fpc and installed the source and x86_64 binary so everything is the same... # fpc Free Pascal Compiler version 2.0.4 [2006/08/20]…
- fpc arm big endian help2
Hi all I'm working on some code for the NSLU2 'slug'. How do I get ppcarm to compile in big endian mode? I have done it once before but I've lost the magic wand…
- fpGUI and fpGFX has a newsgroup sever0
I have setup two newsgroups for fpGUI and fpGFX on my server. For those stuck behind a company firewall, there is web access to the newsgroups as well. Newsgroups:…
- Problem with string conversion10
I am having a problem with string conversion from utf-8 to utf-16: procedure TForm1.Button6Click(Sender: TObject); var WideText: PWideChar; AText: string; Size: Integer;…
- mixing C and Pascal and function pointers3
Dear members: I am not familiar with Pascal, but I would like to call some C routines inside the main Pascal program, is there any way, to pass function pointers from…
- Re: fpc-pascal Digest, Vol 26, Issue 350
On Friday 20 October 2006 12:00, It should be no problem to build a library, these are the interfaces These are the interfaces void mnbrak(float *ax, float *bx, float…
- inlining functions3
when using "inline" on a procedure or function, does it completely avoid the call by copying anything inside the "begin ... end" block to the right place? Example:…
- speed of real calculations6
is anyone aware of or has done a calculations speed comparison for the four float types (single, double, extended, comp)? I'm most interested in the first rules of…
- Lazarus, wov1
Wow, some tears dropped when I launched lazarus as old delphi 1 & delphi 2 memories came to my mind. And not only the look and feel, also the stability and easy to use…
- [NETWORK - LINUX ]: Calculate broadcast - network6
<message> </message> Dear I develop a tool that change the network settings in /etc/network/interfaces the config file must be iface eth0 inet static address…
- Re: Re: [regex] : Is someone use SynRegExpr ? RegExpr2 vsSynRegExpr0
I didn't use it much, but I do agree: it works great (I tried it with FPC only). It is a "contributed unit" in FPC (not distributed within the package). Its license…
- [regex] : Is someone use SynRegExpr ? RegExpr2 vs SynRegExpr1
dear Currently i use RegExpr2 (http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Regexpr2) to perform regex matching.. did SynRegExpr…
- Using FPC as a scripting engine7
currently I am using RemObjects Pascal Script as a scripting language for a project of mine. All scripts are simple programs that use "API" exported from the main…
- DBus Bindings4
I am writing bindings for DBus (interprocess communication) library, but I'm a little lost about how to create them. The procedural low-level code is already working.…
- Unix.POpen does not work1
I am porting my fpc-1.0.6 sources to fpc-2.0.4 on Linux. It seems, that Unix.POpen(TxtFile,cmd,'R') does not work. Giving no error, cmd is not executed, EOF(TxtFile) is…
- Temporary Filenames in GO323
I read an old thread about how to make temporary filenames (unique filenames is what the topic was about) and I have written a simple unit that sort of does this without…
- Apache and dbus headers2
I released 0.3 version of the Apache headers. It now works for both 2.2 and 2.0. It also contains partial translation of 1.3 headers but I haven't managed to make them…
- [SYSTEM]: How detecting if run as root ?5
Dear I need to detect if the program is executed as root privileges on Linux system. Did somebody had developped a such function ?? Best regards. David Touzeau…
- Get PID by process name0
Is there any function how to get pid by process name? --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries)…
- [CRYPT]: Is there an unit to perform crypt/decrypt on Linux ?3
Dear I would like to crypt some files/strings/datas with fpc on Linux systems. What unit can i use to provide this feature ? I there a standard unit or somebody had…
- Re: fpc-pascal Digest, Vol 26, Issue 200
That was it, I had a Uses Memory, and I renamed it to MacMemory and bingo, no errors. Thank you Sir! Ken
- fp.ini defaults1
When executing "fp" in an empty directory, an fp.ini file is generated with AutoSaveFlags set to a value of 6. Is there a way to arrange for the default value to be 7,…
- Low level disc access under windows with FPC2
Hello, I'd like to ask if someone has experiences with low level disk operations in windows with FPC. The program should be able to copy entire diskete to one single…
- difference between variants and simple types2
I'd like to know how the use of simple atomic types like integer and single differs from using variants holding the same types. How do they compare in speed and memory…
- programstart from inittab0
is it possible to start a program from inittab (without console, in Linux)? When I do this the program is somewhere running. Whith 'ps auxww' there is an entry then, but…
- THREADVARLIST_FVCOMMON & THREADVARLIST_MEMORY undefined symbols while linking1
Downloaded fpc 2.0.4 yesterday and I am trying to compile a legacy CW Pro 2 app on Mac 10.4.8 with Xcode 2.4. I am getting undefined symbols THREADVARLIST_FVCOMMON &…
- Variant record types in Sockates unit.2
I notice the following in socketsh.inc: TInetSockAddr = packed Record case boolean of false : ( {$ifdef SOCK_HAS_SINLEN} sin_len : cuchar; {$endif} sin_family :…
- fpUnit - AssertEquals gives Access violation4
AssertEquals always gives an Access violation error for some reason. First some background info is needed.... I first write some of my tests using AssertTrue as follows:…
- Unistalling FPC (and reinstalling from svn)3
I have a silly question : which is the best way to uninstall FPC ? I have used the 2.0.4 tarball (Linux) and the install script included within. I chose to install it…
- Install freepascal Mysql package to kylix 31
Hi, does anyone know how to install freepascal mysql component to kylix 3 open edition? Or is there any database component that can be use with kylix 3 open edition? Thx…
- h2pas error report3
h2pas does crash on the following lines: typedef unsigned __int64 hsize_t; typedef signed __int64 hssize_t; Command line and error message: h2pas -d -l "hdf5" -p -o…
- visualserver from VisualSynapse how implement it as a Linux console Daemon0
Dear is anybody there use visualserver from VisualSynapse (http://visualsynapse.sourceforge.net/?id=8) and impleted it on Linux has a console mode...?? Examples given is…
- Get Local IP using glib (eth0,eth1)13
Hi I'm trying to write a function to read the local IP eth0/eth1... using glibc library... I found only examples that found the 127.0.0.1 IP but not the real IP :…
- Last missing benchmark: regex-dna6
The regex-dna benchmark (http://shootout.alioth.debian.org/debian/benchmark.php?test=regexdna&lang=all) is the last missing benchmark. Although fpc has a regexpr unit:…
- [libtar.pas]:Error: Illegal type conversion: "ShortString" to "^Char" without compilator options2
Dear I would like to use some units developped from delphi/klyx with Lazarus IDE On Linux. It seems that there is some differences between delphi/freepascal especially…
