s own, so why bother passing something so obvious
> as a parameter... this leads me to wonder if this length needs to be
> something else?
>
> James
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> https://lists.fr
On Mon, 2019-08-19 at 03:11 +0200, Marc Santhoff wrote:
> Hi James,
>
> are you really sure the WHB04B-6 is exactly the same as your WHB04B-4 viewn to
> the USB API?
>
> If those thingys come with a dll, maybe you can compare the header files?
> If there is no header f
a header file.
HTH somehow...
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Fri, 2019-07-26 at 22:37 +0200, Johann Glaser wrote:
> Hi!
>
> Am Freitag, den 26.07.2019, 15:56 +0200 schrieb Marc Santhoff:
> > On Thu, 2019-07-25 at 19:40 -0700, Brian wrote:
> > > Try the libusb library Free Pascal interface .. but be aware of his
> > > lic
___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepa
> scal.org/cgi-bin/mailman/listinfo/fpc-pascal
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listin
-pascal.html
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
review of lld workarounds in the ports tree, to identify
changes that are no longer needed, should be addressed in lld, or
should be sent upstream
This project was sponsored by The FreeBSD Foundation.
"
--
Marc Santhoff
___
fpc-
On Sat, 2019-06-01 at 22:26 +0200, Bart wrote:
> On Sat, Jun 1, 2019 at 8:41 PM Marc Santhoff wrote:
>
> > which are the main changes when upgrading fpc from 2.6.4 to the current
> > 3.x
> > release?
>
> Codepage aware strings come to mind...
>
&g
notes...
Since I do not want to do that again I need to know how to prepare properly.
I've ssen the release notes in the wiki [1], but there is no comparison
between the two lines of development.
TIA,
Marc
[1] http://wiki.freepascal.org/User_Changes_3.0.0
--
Marc San
On Tue, 2019-02-05 at 15:49 +0100, Marc Santhoff wrote:
> On Mon, 2019-02-04 at 15:59 -0700, conlin664 via fpc-pascal wrote:
> > THANKS GUYS.
> >
> > This is now working. The 'fix' was to actually install fpc 3.0.4 on this
> > machine.
> > My trusty 2.4.4
ant, imho...
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
reads. So you know the threads using the
logger. Same could be done in the destruction code, using the
".DeregisterThread()" method.
So you now the threads and their lifetime inside the logger.
HTH anyhow,
Marc
--
Marc Santhoff
___
clear things
up?
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
6-Win32 ^
> -Fu%FPC_BASE%\units\i386-Win32\* ^
> -Fu%FPC_BASE%\units\i386-Win32\rtl ^
> -FlC:\VCAST63\MinGW\lib ^
> pcode.pas
>
> @set PATH=%SAVED_PATH%
> @exit /b
Why does this work having 'cdecl' instead of 'stdcall'?
Is it a special ca
On Thu, 2019-01-31 at 22:42 +0100, Tomas Hajny wrote:
> On Thu, January 31, 2019 21:57, Marc Santhoff wrote:
> > On Thu, 2019-01-31 at 11:00 -0700, conlin664 via fpc-pascal wrote:
> > > sven,
> > >
> > > so I just tried, what I think you said:
> > >
details of naming and the different name conventions on Win32
and Win64 are missing, too. I think there should be at least a wiki page or
better some explanations in the Programmers Guide.
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Ci -O1 -Cp386 -OpPENTIUM3 -Ratt -gl -p- -b-
>
> I had -XS in there, but it doesn't seem to change anything.
>
> So I'm just looking to static link external C code to a pascal program on a
> windows machine
>
How do your declaration and compiler switch(es) in the
lInit; stdcall; external 'common' name 'CutilInit';
If the full external declaration is necessary you'll have to try. I had to
when using a dynamic library (.dll in win32 terms).
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, 2018-10-24 at 22:06 +0200, Sven Barth via fpc-pascal wrote:
> Am 20.10.2018 um 20:09 schrieb Marc Santhoff:
> > Hi,
> >
> > from testing a while ago I remember the following:
> >
> > The memory used by a class instance is composed of
> > 1. the
are (to be) included in 2., string types are in fact references aka
pointers
The second clause is sort of "by definition", but I do define like that in
this case.
Is that listing correct and complete?
TIA,
Marc
--
Marc Santhoff
___
> example, realizing your API key is incorrect.
>
> Alex
>
>
> On 10/7/2018 4:03 PM, Marc Santhoff wrote:
> > On Sun, 2018-10-07 at 00:23 +0200, Michael Van Canneyt wrote:
> > > On Sat, 6 Oct 2018, Marc Santhoff wrote:
> > >
> > >
On Sun, 2018-10-07 at 00:23 +0200, Michael Van Canneyt wrote:
>
> On Sat, 6 Oct 2018, Marc Santhoff wrote:
>
> > Hi,
> >
> > being rather agnostic regarding web techniques I have to ask:
> >
> > What module or unit is best for being used when calling web
overview:
https://wiki.apache.org/tika/TikaJAXRS#Services
TIA,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Oncemore using the correct from address...
Sorry moderation.
On Thu, 2018-09-20 at 23:45 +0200, Bo Berglund wrote:
> On Wed, 19 Sep 2018 23:58:36 +0200, Marc Santhoff
> wrote:
>
> > Any pointers or hints, please?
>
> You can convert any file you like to an inc fi
On Thu, 2018-09-20 at 00:47 +0200, Tomas Hajny wrote:
> On Wed, September 19, 2018 23:58, Marc Santhoff wrote:
>
>
> Hi,
>
> .
> .
> > What I need:
> >
> > - A program taking a binary file and spitting out pascal code for the
> > const array. I k
. Currently
I'm plannig to use a TFileStreaam writing out Bytes, should do.
Any pointers or hints, please?
TIA,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
using the flag "O_DIRECT" instead of
"O_NONBLOCK" for switching of caching as far as possible. At least on FreeBSD
it is like this, check on Linux yourself...
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Tue, 2018-07-03 at 10:14 -0300, Marcos Douglas B. Santos wrote:
>
> Can we sleep a thread for minutes or even hours without any problems?
> The OS will not kill the thread?
>
Sorry, I simply don't know. Try it.
--
Marc Santhoff
_
. It's attached to
this mail, hoping hte list accepts pure text attachemnts, although I hoped it
would have been integrated in fpc/lazarus.
HTH,
Marc
--
Marc Santhoff {
A basic thread based timer component. Can be used in GUI and non-GUI apps.
Author: Graeme Geldenhuys
}
unit ThreadTimer
ed when stumbled upon, thinking
"this will be useful later"...
I can send it in private or post it here on the list or on pastebin. Maybe the
author can be identified?
I hesitate calling it public domain, but the code snippets I collect are
exactly that, visible for everyone, from p
Ryan Joseph
>
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, 2018-06-20 at 22:45 +0700, Ryan Joseph wrote:
> > On Jun 20, 2018, at 10:20 PM, Marc Santhoff wrote:
> >
> > The spots where resolving single parameter macros is done are pretty easy
> > to
> > find. Parsing the macro text and replacement will be the hardest
where resolving single parameter macros is done are pretty easy to
find. Parsing the macro text and replacement will be the hardest part, as
Michael wrote. A bit of housekeeping for parameter-type lists, etc...
--
Marc Santhoff
___
fpc-pascal
reprocessor, solving the problem of mangled error messages.
The preprocessor user could implement whatever is needed on his or her side?
My 2 cent,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ould be to show a video from file on the screeen and be able to navigate
by time code and by single picture.
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ion:
> would one really need both if one were confident in what he was doing?).
They most probably use industrial ehternet for the important things. There are
approaches doing both, tcp/ip and industrial protocols on one cable, but I
personally would not set one foot into a plane doin
g/Operating_Systems_written_in_FPC
http://wiki.freepascal.org/ARM
https://en.wikipedia.org/wiki/Comparison_of_real-time_operating_systems
Have fun,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ollers (avr at the moment) into fpc.
Me too, especially STM32F407 & 446.
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Mon, 2018-01-08 at 15:21 +0200, Juha Manninen wrote:
> On Sat, Jan 6, 2018 at 11:46 AM, Marc Santhoff
> wrote:
> > Since I'm confronted with the task of analyzing a pile of object
> > pascal
> > sources I'd like to know:
> >
> > Is there any
On Mon, 2018-01-08 at 08:35 +0100, Marc Santhoff wrote:
> On Sat, 2018-01-06 at 18:01 +0100, Marco van de Voort wrote:
> > In our previous episode, Marc Santhoff said:
> > > Since I'm confronted with the task of analyzing a pile of object
> > > pasca
On Sat, 2018-01-06 at 18:01 +0100, Marco van de Voort wrote:
> In our previous episode, Marc Santhoff said:
> > Since I'm confronted with the task of analyzing a pile of object
> > pascal
> > sources I'd like to know:
> >
> > Is there any tool that c
Hi!
Since I'm confronted with the task of analyzing a pile of object pascal
sources I'd like to know:
Is there any tool that can help me?
Automatically generating a visual class diagram having uses and
aggregation of other classes would be very helpful.
Any hints?
TIA,
Marc
--
Mar
On Mon, 2018-01-01 at 13:17 -0500, Yves Cloutier wrote:
> Hi there,
>
> I'd be interested to know if any modern compilers have been written
> in
> Pascal (other than the Pascal Compiler).
A bit outdated, but intresting:
http://pascaland.org/pascall.ht
um, the creator of Python, writes about it "Throw away your
compiler theory book!"
I would really appreciate a translation of the code from the book to
pascal. ;)
Sorry for mentioning something nasty like Java on this list.
--
Marc Santhoff
___
On Fr, 2017-11-10 at 19:07 +0100, Mattias Gaertner wrote:
> On Fri, 10 Nov 2017 18:57:19 +0100
> Marc Santhoff wrote:
>
> >[...]
> > > You can either use fpc and switch the target OS and /or processor.
> >
> > That solution isnt't doable, that would
On Fr, 2017-11-10 at 18:22 +0100, Karoly Balogh (Charlie/SGR) wrote:
> Hi,
>
> On Fri, 10 Nov 2017, Marc Santhoff wrote:
>
> > What is that, is ppc used for bootstrapping the cross compiler
> > regardless of any other fpc maybe installed?
>
> Yes. First that ppc
On Fr, 2017-11-10 at 18:25 +0100, Mattias Gaertner wrote:
> On Fri, 10 Nov 2017 17:47:11 +0100
> Marc Santhoff wrote:
>
> > Hi again,
> >
> > (too many sub threads, answering here - thanks to all helpers!)
> >
> > OK, "$FPC -va | grep CPU" does
Hi again,
(too many sub threads, answering here - thanks to all helpers!)
OK, "$FPC -va | grep CPU" does the trick. If using the ppcrossarm:
marc@puma:/home/marc/program/fpc-cross/src/fpc/compiler > ./ppcrossarm -va|grep
CPU
[0.004] Macro defined: CPUARMEL
[0.004] Macro defined: FPC_CPUCROSSCOM
On Do, 2017-11-09 at 21:31 +0100, Giuliano Colla wrote:
> Il 09/11/2017 02:36, Marc Santhoff ha scritto:
>
> > how does fpc and it's makefiles handle the case of installing a cross
> > compiler on a system having fpc installed?
> >
> > The target path will di
On Do, 2017-11-09 at 20:05 +0200, Christo wrote:
> On Thu, 2017-11-09 at 02:36 +0100, Marc Santhoff wrote:
> > Additionally there seems to be no compiler switch for changing the
> > configuration file to use, only -n for ignoring it. Is ist possible
> > to
> > name the
Hi,
how does fpc and it's makefiles handle the case of installing a cross
compiler on a system having fpc installed?
The target path will differ and I can set that, but how is the config
file .fpc.cfg handled?
I'm a bit afraid to mess up the installation not because of fpc but
because I'm not rea
On Mo, 2017-09-11 at 00:40 -0700, leledumbo via fpc-pascal wrote:
> > Which container class ist the easiest to use for key-value pairs?
>
> All are just as easy. Instead you should state for non-functional
> requirements. Does it have to be fast? Does it have to be memory efficient?
> Or as long a
On Mo, 2017-09-11 at 09:22 +0200, Michael Van Canneyt wrote:
>
> On Mon, 11 Sep 2017, Marc Santhoff wrote:
>
> > Hi,
> >
> > since I'm programming Pascal only on occasion I'd like to know:
> >
> > Which container class ist the easiest to use fo
from json data (text) and have to be stored in memory (for
now).
TIA,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Do, 2017-09-07 at 13:32 +0200, Bo Berglund wrote:
> On Wed, 06 Sep 2017 23:21:17 +0200, Marc Santhoff
> wrote:
>
> >Could that be some sort of timeout?
> >
> >You're setting
> >
> > FTcpComm.ReadTimeout := 30;
> >
> >but I have no
On Mi, 2017-09-06 at 23:06 +0200, Bo Berglund wrote:
> On Wed, 06 Sep 2017 22:52:12 +0200, Bo Berglund
> wrote:
>
> >I have now added extra binary logging to the relaying program only to
> >find that the data received and processed are missing about 50 k of
> >the 1M transmission.
> >Next I will
On Mi, 2017-09-06 at 21:22 +0200, Bo Berglund wrote:
> Where could I be losing incoming serial data?
Only for completeness:
Can you rule out problems reagrding the hardware side? Mabe there are
some weak line drivers or a faulty cable involved?
Worth checking, at least.
HTH anyhow,
Marc
_
Hi,
for playing around I would need a grammar of Object Pascal. I do not
care for which tool it is written or at best if it is plain EBNF.
Does such grammar exist?
TIA,
Marc
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fre
On Di, 2017-05-02 at 08:33 -0700, fredvs wrote:
> Hello.
>
> The best (IMHO) is c2pas32 --> http://www.astonshell.com/freeware/c2pas32/
Nice program, i fed the adc.c source from STMs fwlib for stm32f4 through
and the generated code looks fine. There is some guessing on type casts,
but I hope thos
Hi,
since fpc supports a lot of intresting SoCs and Microcontrollers - has
anyone really used Allwinner A20? - I need an update:
Which translator do you use for making Object Pascal code from C?
For headers there is the very well working h2pas. But what tool is
recommendable for .c files?
The o
On So, 2017-01-22 at 22:05 +0100, Florian Klämpfl wrote:
> Am 22.01.2017 um 21:43 schrieb Marc Santhoff:
> > On So, 2017-01-22 at 21:20 +0100, Florian Klämpfl wrote:
> >> Am 22.01.2017 um 19:33 schrieb Marc Santhoff:
> >>> Hi,
> >>>
> >>&
On So, 2017-01-22 at 21:20 +0100, Florian Klämpfl wrote:
> Am 22.01.2017 um 19:33 schrieb Marc Santhoff:
> > Hi,
> >
> > I'd like to know if the floating point hardware on STM32F103
>
> What floating point hardware does it have? According to a quick search, it
Hi,
I'd like to know if the floating point hardware on STM32F103 is
supported by the fpc cross compiler. ARmv7 this is according to:
http://j-software.dk/stm32f103.php
Will fpc use floating point support on those SoCs?
TIA,
Marc
___
fpc-pascal maill
On Do, 2017-01-05 at 11:15 +0100, Mattias Gaertner wrote:
> On Tue, 03 Jan 2017 02:54:05 +0100
> Marc Santhoff wrote:
>
> > Hi,
> >
> > firstly a happy new year to you all and keep on rocking!
> >
> > While reading the fpimage unit code I found some piec
Hi,
firstly a happy new year to you all and keep on rocking!
While reading the fpimage unit code I found some pieces I don't
understand and could not clear up reading the docs. Here we go:
TFPCustomImage = class(TPersistent)
[...]
public
[...]
property Extra [const key:string] : stri
On Mi, 2016-12-14 at 22:56 -0700, Lars wrote:
> On Wed, December 14, 2016 11:57 am, Marc Santhoff wrote:
> > Hi,
> >
> >
> > I'd like to read out meta data from files. is there any pascal code
> > supporting this task?
> >
> > This is abou
Hi,
I'd like to read out meta data from files. is there any pascal code
supporting this task?
This is about reading the comment of zip files, the author and
description of word processor files (open document format) and so on.
TIA,
Marc
___
fpc-pasca
de by Marc Santhoff in 2016
Do anything you like with this code, no warranties of any kind given.
Please respect other licenses, see below.
Issues:
- I had to change two of the MAGIC_ constants because of name clashes.
They got an additional underscore after the name, see below.
-
On Di, 2016-11-15 at 22:38 -0700, Lars wrote:
> I just wish CVS and SVN had as nice of a GUI front end (like github).
> That's the one thing I really like about git is the nice GUI access,
> simple readme system for projects etc. With CVS and SVN gui's and website
> front ends I never found anythi
Hi,
if I want load a bitmap picture for extracting a small preview of it,
what component or library would be best?
My goal is to use pascal only without any external lirbraries if
possible. Second goal is to keep the program small, ideally avoiding to
link lcl controls in.
Bitmap picture may be
On Fr, 2016-09-09 at 09:06 +0100, Graeme Geldenhuys wrote:
> On 2016-09-05 05:02, fredvs wrote:
> > In FreeBSD forum they explain that FreeBSD 64 bit can run Linux 64 bit
> > applications (I am able too) but can only link Linux 32 bit applications
> > (that cannot be run on a FreeBSD 64 bit system)
On Di, 2016-09-06 at 10:42 -0700, fredvs wrote:
> > No, I didn't. I only compile native programs.
>
> Huh, it is what I wanted to ask...
>
> Did you try to compile on a native FreeBSD 32 bit using -XX parameter (smart
> link).
No, I have no FreeBSD 32 Bit at hand, sorry.
Marc
On Mo, 2016-09-05 at 16:42 -0700, fredvs wrote:
> Thanks Marc for that clear explanation, I knew linux emulation, of course,
> but not that nickname.
>
> By the way, if you are using a FreeBSD 32 bit system, did you try to compile
> a fpc application with smart link enabled (*-XX* parameter) ?
No
On So, 2016-09-04 at 08:44 -0700, fredvs wrote:
> There is a answer there (but not sure I understand, what is "linuxolator" ?)
The Linuxolator is a freebsd specific term for the linux binary
emulation on freebsd.
AFAIK it is done by implementing a small layer between the linux
libraries and prog
On Fr, 2016-09-02 at 15:03 -0700, fredvs wrote:
> Hello Marc.
>
> And thanks to help.
You're welcome.
[...]
> But when compiling on a FreeBSD 64 bit system using fpc-*linux-64*, there is
> that message on linking:
>
> [4.438] Searching file /bin/ld... found
> [4.438] Using util /bin/ld
> [4.43
On Fr, 2016-09-02 at 09:32 -0700, fredvs wrote:
> Hello Marc.
Hi Fred.
> Thanks for the infos, good to know that it is possible to install linux
> package via FreeBSD-pkg install.
> Sadly I did not see any linux-ld or linux-binutils package in
> https://www.freebsd.org/ports/linux.html
>
> So, t
On Fr, 2016-09-02 at 08:57 -0700, fredvs wrote:
> Hello.
>
> The night was very long and hard...
>
> I have some result.
>
> Here how I did:
>
> - Copy ld-linux into /compat/linux/bin
>
> - Copy dependencies-linux needed by ld-linux (some needed to be in
> /compat/linux/lib, other in /compat/l
On Do, 2016-09-01 at 14:24 -0700, fredvs wrote:
> > Sorry, I can't help you much with that, ld-linux is not installed here
> > and I don't know which package it is from.
>
> Huh, is it possible to install Linux packages (apt-get install something) in
> a FreeBSD system ?
> Or do you mean (like I
On Do, 2016-09-01 at 13:54 -0700, fredvs wrote:
> > See Greames message for why you still will have to use the Linux ld.
> > Your error message clearly says, the FreeBSD linker can only create bfsd
> > code for i386 and x64.
>
> >> Supported emulation: elf_x86_64_fbsd and elf_i386_fbsd
>
> Yes,
On Do, 2016-09-01 at 09:56 -0700, fredvs wrote:
> > With fpc's -k parameter, you can pass parameters directly to the linker.
> > If you need to pass multiple parameters, use -k several times
> > (e.g.-k-para1 -kvalue1)
>
> Wow, many thanks Jonas.
>
> I will try it and write you the result.
>
> B
On Di, 2016-08-30 at 11:31 -0500, Snorkl e wrote:
> Big deal, we can do all that and more with Lazarus and FPC
... without waiting for "perhaps next year".
Marc (using fpc/lazarus since fpc-version 1.9 or so ;)
--
Marc Santhoff
_
On Sa, 2016-07-23 at 05:55 +0200, Marc Santhoff wrote:
> On Fr, 2016-07-22 at 18:20 -0400, James Richters wrote:
> > I'm trying to avoid custom hardware if possible. I have always used
> > parallel ports and never had a problem with them until now. I like the
> > idea
On Fr, 2016-07-22 at 18:20 -0400, James Richters wrote:
> I'm trying to avoid custom hardware if possible. I have always used
> parallel ports and never had a problem with them until now. I like the
> idea of a parallel port because they are still built onto motherboards, and
> there are also a
On Do, 2016-07-21 at 05:29 +0200, Marc Santhoff wrote:
> On Fr, 2016-07-15 at 14:59 -0700, Zaaphod wrote:
> > I am trying to get access to the parallel port with Free Pascal.
> >
> > I'm trying to use this version of inpout32 (x64)
> > http://www.
On Do, 2016-07-21 at 08:39 -0500, Paul Breneman wrote:
> You can do *everything* via USB. :) I joked about this several years ago
> but then went searching and found USB to ISA slot and USB to PCI slot
> adapters. Folks use these to run expensive data acquisition cards.
https://www.youtube.com
On Fr, 2016-07-15 at 14:59 -0700, Zaaphod wrote:
> I am trying to get access to the parallel port with Free Pascal.
>
> I'm trying to use this version of inpout32 (x64)
> http://www.highrez.co.uk/downloads/inpout32/
>
> Here's my program:
> http://pastebin.com/facf6EFc
>
> Here's my Unit:
> h
On Sa, 2016-07-09 at 12:28 +0300, Juha Manninen wrote:
> Thanks everybody for help and comments.
> My memory is recovering slowly about keyboard configuration. It was
> many years ago I did it manually for Linux distros.
> But yes, "setxkbmap fi" in .xinitrc did the job.
>
> I confused "pkg" and "
On Fr, 2016-07-08 at 23:03 +0300, Juha Manninen wrote:
> Hello
>
> I installed FreeBSD 10.3 under VirtualBox. This is the first time I
> use FreeBSD. Cool!
> I managed to install X, XFCE and all applications I need.
> FPC and Lazarus both work.
>
> Only thing missing now is FPC source code, neede
On Mi, 2016-06-22 at 15:01 +0200, Mattias Gaertner wrote:
> On Wed, 22 Jun 2016 13:36:08 +0100
> Graeme Geldenhuys wrote:
>
> > On 2016-06-22 13:14, Mattias Gaertner wrote:
> > > On my Linux it does not swap the CPU and I can't find any hard data that
> > > Windows is swapping because of hotspot
On Fr, 2016-05-20 at 10:53 +0200, Marc Santhoff wrote:
> There are some tools I liked very much when dealing with language
> translation in the past, but they don't fit her. None of them generates
^e
"they don't fit here.
On Fr, 2016-05-20 at 08:38 +, Mark Morgan Lloyd wrote:
> Marc Santhoff wrote:
> > On Do, 2016-05-19 at 13:10 +0200, Torsten Bonde Christiansen wrote:
> >
> >> * GOLD Parser: http://www.goldparser.org/
>
> >> * COCO/R: http://www.ssw.uni-linz.ac.at/Resea
On Do, 2016-05-19 at 13:10 +0200, Torsten Bonde Christiansen wrote:
> * GOLD Parser: http://www.goldparser.org/
> Was last updated in sept. 2012 and the lastest pascal implementation is
> not for the lastest version of the program!
>
> * COCO/R: http://www.ssw.uni-linz.ac.at/Research/Projects/Co
That's totally OK, but the unit dynlibs is written for platform
independence and I'd like to be able to use it on FreeBSD and at least
Windows without having much $ifdefs and the like.
Have fun,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On So, 2016-03-20 at 15:10 +0100, Marc Santhoff wrote:
> On So, 2016-03-20 at 14:27 +0100, Ewald wrote:
>
> > Could this be related to pointer trucation? The man page of dlopen tells
> > us that the return value is a pointer (hence the return value of
> > LoadLibrary has
dLibrary > ./pointersize
pointersize: 8
size of integer: 2
marc@puma:/home/marc/program/Test_fpc/LoadLibrary > cat pointersize.pas
program pointersize;
uses
sysutils;
begin
writeln('pointersize: ' + inttostr(sizeof(pointer)));
writeln('size of integer: ' + i
to find out.
> Many, many thanks to Marc, Marco, Ewald and Sven.
You're welcome, thanks for reporting and testing.
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
;);
>
> if ap1 <> nil then
> writeln('getprocedureaddress() is OK') else
> writeln('getprocedureaddress() is NOT OK') ;
Looking at dynlibs.pas you can use
Function GetLoadErrorStr: string;
here. Or simply dlerror() like in the other program, should work.
> end;
>
> --> result:
>
> loadlibrary() is OK
> getprocedureaddress() is NOT OK
>
>
>
> Conclusion: Maybe getprocedureaddress() has problems.
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
would be helpful to see the code fragments in question. The
declaration of the external functions if any and the code calling
LoadLibrary() and GetProcAddress().
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://list
.
All the same. ;)
Only that one differs:
marc@puma:/home/marc > clang -v
FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210
Target: x86_64-unknown-freebsd9.0
Thread model: posix
You can try looking at the manual pages, type in "man cc" and the other
names.
--
Ma
ces in the systems dlopen() and
another similar variant installed by libtool, found in libbtdl regarding
to my notes. Dunno if it matters. Libtools implementation does
differentiate between OSs by itself (at compile time). Cold be a source
of confusion...
--
Marc Santhoff
1 - 100 of 593 matches
Mail list logo