Re: [fpc-pascal] USB Human Interface Devices

2019-08-21 Thread Johann Glaser
Hi! Am Montag, den 19.08.2019, 18:22 -0400 schrieb James Richters: > Oh, for some reason I wasn't thinking I was replacing mydevice.pas > with snapi.pas... Ok.. so if > I understand this correctly, make the changes necessary in snapi.pas > to use libusboop.pas instead of the old usb.pas, and th

Re: [fpc-pascal] USB Human Interface Devices

2019-08-19 Thread Johann Glaser
Hi! Am Sonntag, den 18.08.2019, 10:43 -0400 schrieb James Richters: > I just pushed it. Sorry for the delayed reply. After comparing the exception stack trace you've sent (see below) and your code, the access violation happens at https://github.com/Zaaphod/pas-libusb/blob/Hack/src/libusboop.pas#

Re: [fpc-pascal] USB Human Interface Devices

2019-08-18 Thread Johann Glaser
Hi! Am Samstag, den 17.08.2019, 18:00 -0400 schrieb James Richters: > I commented out all the try & except stuff and ran it.. I get this > output: Could you please "git push" the source code to Github so that the line numbers match the output? At least in line 1330 of libusboop.pas there is no Cr

Re: [fpc-pascal] USB Human Interface Devices

2019-08-17 Thread Johann Glaser
Hi! Am Samstag, den 17.08.2019, 16:16 +0200 schrieb Jean SUZINEAU: > Le 17/08/2019 à 15:00, James Richters a écrit : > > Function TLibUsbInterface.FindEndpoint(MatchFunc : > > TLibUsbEndpointMatchMethod) : Plibusb_endpoint_descriptor; > > MatchFunc(ED) is where the access violation occurs, but I c

Re: [fpc-pascal] USB Human Interface Devices

2019-08-13 Thread Johann Glaser
Hi James! Am Montag, den 12.08.2019, 20:20 -0400 schrieb James Richters: > > > Ah, I see. You declared EP as Plibusb_endpoint_descriptor (i.e., > > > the pointer to an endpoint descriptor record), while in the > > > original code it is a USBEndpointDescriptor (i.e., the record > > > itself). > > >

Re: [fpc-pascal] USB Human Interface Devices

2019-08-12 Thread Johann Glaser
Endpoint, which is IMHO unused. If its so, please remove it. I like to avoid clutter. :-) Apart form these cosmetic things, thank you very much for your effort! I'm looking forward hearing from you your success when accessing a HID device (or call for help :-) ). Thanks Hansi > ---

Re: [fpc-pascal] USB Human Interface Devices

2019-08-11 Thread Johann Glaser
Hi! Am Samstag, den 10.08.2019, 17:50 -0400 schrieb James Richters: > I'm making an attempt to copy TUSBPseudoHIDInterface into > libusboop.pas. I've made the recomended name changes and then tried > to compile it. Some things I found like the names changing from > things like > > PUSBInterfaceD

Re: [fpc-pascal] USB Human Interface Devices

2019-08-09 Thread Johann Glaser
x. I've fixed that now and pushed to Github. Thanks for pointing this out! Thanks Hansi > -Original Message- > From: fpc-pascal On Behalf > Of Johann Glaser > Sent: Friday, August 9, 2019 7:17 AM > To: fpc-pascal@lists.freepascal.org > Subject: Re: [fpc-pascal] USB Human Int

Re: [fpc-pascal] USB Human Interface Devices

2019-08-09 Thread Johann Glaser
Hi! Just a quick reply while at work, I'll reply to all EMails in the evening. First of all: Thanks for finding the bug with the index variable I vs. J. I'll fix that in the evening. Secondly: You are correct, the "EZ-USB" is a specific chip family by Cypress, e.g., AN2131, without Flash/ROM b

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread Johann Glaser
Hi! Am Donnerstag, den 08.08.2019, 13:14 +0200 schrieb Jean SUZINEAU: > Le 08/08/2019 à 12:07, James Richters a écrit : > > > Is the static linking issue just with Windows, and it works on > > Linux, or it isn’t working with FPC at all on either? > > > > James > > It seems that right out of the bo

Re: [fpc-pascal] USB Human Interface Devices

2019-08-06 Thread Johann Glaser
Hi! Am Dienstag, den 06.08.2019, 01:35 +0200 schrieb Jean SUZINEAU: > Hello > I haven't had time yet to read > everything but I join below a few more tests. > > > Le 05/08/2019 à 21:38, Johann Glaser a > écrit : > > >

Re: [fpc-pascal] USB Human Interface Devices

2019-08-05 Thread Johann Glaser
Hi Jean! Am Sonntag, den 04.08.2019, 17:20 +0200 schrieb Jean SUZINEAU: > Hi Hansi, > > > > Le 04/08/2019 à 14:05, Johann Glaser a > écrit : > > > > > > Thanks for your effort and please excuse my late reply, I was > > busy t

Re: [fpc-pascal] USB Human Interface Devices

2019-08-04 Thread Johann Glaser
Hi James! Am Donnerstag, den 01.08.2019, 22:45 -0400 schrieb James Richters: > I understand it better now, but I've been out of town and haven't > been able to work on it. I'm not sure what is meant by installing > development packages though.. I see libusb at https://libusb.info/ I > see where

Re: [fpc-pascal] USB Human Interface Devices

2019-08-04 Thread Johann Glaser
Hi Jean! Thanks for your effort and please excuse my late reply, I was busy the last few days. Please note that for pas-libusb there is a dedicated Git branch for the newer LibUSB 1.0. The branch is called "libusb-1.0". Marc pointed to that in his EMail from Fri, 26 Jul 2019 15:56:17 +0200. I'm

Re: [fpc-pascal] USB Human Interface Devices

2019-08-01 Thread Johann Glaser
their respective development packages. Was the message of Jean helpful for you? Thanks Hansi > -Original Message- > From: fpc-pascal On Behalf > Of Johann Glaser > Sent: Tuesday, July 30, 2019 4:54 PM > To: fpc-pascal@lists.freepascal.org > Subject: Re: [fpc-

Re: [fpc-pascal] USB Human Interface Devices

2019-07-30 Thread Johann Glaser
Hi James! Am Dienstag, den 30.07.2019, 13:52 -0400 schrieb James Richters: > > > Due to my lack of understanding of Windows, I've not yet taken > > > over his changes, because I wanted to wait for confirmation from > > > other users. So if James had some feedback, I'd appreciate it > > > greatly.

Re: [fpc-pascal] USB Human Interface Devices

2019-07-27 Thread Johann Glaser
Hi! Am Samstag, den 27.07.2019, 14:27 +0200 schrieb Marc Santhoff: > 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: >

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread Johann Glaser
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 > > license > > requirements. It works well. > > > > http://johann-glaser.blogspot.com/2012/07/libusb-for-pas

Re: [fpc-pascal] interactively draw an ellipse

2013-01-23 Thread Johann Glaser
Hi! Please do your homework yourself. Bye Hansi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-10-01 Thread Johann Glaser
Hi! Am Sonntag, den 30.09.2012, 22:57 +0200 schrieb Christo: > On Tue, 2012-09-25 at 22:32 +0200, Johann Glaser wrote: > > > I only have access to Linux and don't know anything about Windows > > development. So, I ask you (and anybody else) on the best and cleanest >

[fpc-pascal] CThreads for linked C library?

2012-10-01 Thread Johann Glaser
Hi! libusb(x) links to libpthread: $ ldd /lib/x86_64-linux-gnu/libusb-1.0.so.0 linux-vdso.so.1 => librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 /lib64/ld

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-09-30 Thread Johann Glaser
Hi! Am Mittwoch, den 26.09.2012, 08:56 +0200 schrieb Sven Barth: > Am 25.09.2012 23:16, schrieb Henry Vermaak: > > On 25 September 2012 20:57, Christo wrote: > >> Any ideas on how to define the calling convention in the import unit so > >> that it is either stdcall or cdecl depending on the targe

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-09-25 Thread Johann Glaser
Hi! Am Dienstag, den 25.09.2012, 21:57 +0200 schrieb Christo: > On Sun, 2012-09-23 at 23:26 +0200, Johann Glaser wrote: > > Hi! > > > > Some time ago somebody asked about USB support. I've now finished the > > libusb 1.0 header translation and object-oriented wr

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-09-25 Thread Johann Glaser
Hi! Am Dienstag, den 25.09.2012, 09:41 +0100 schrieb Graeme Geldenhuys: > On 2012-09-24 14:39, Christo wrote: > > I'm interested in testing your wrapper. Unfortunately I cannot clone > > the git link above, I get an error (fatal: > > https://github.com/hansiglaser/pas-libusb/tree/libusb-1.0/info/

[fpc-pascal] libusb header translation and OOP wrapper

2012-09-23 Thread Johann Glaser
Hi! Some time ago somebody asked about USB support. I've now finished the libusb 1.0 header translation and object-oriented wrapper. Please find them at https://github.com/hansiglaser/pas-libusb/tree/libusb-1.0 including a few examples to demonstrate the usage. I've updated http://wiki.lazarus

Re: [fpc-pascal] C Enum vs. Integer

2012-09-13 Thread Johann Glaser
Hi! Am Donnerstag, den 13.09.2012, 15:45 +0200 schrieb Jonas Maebe: > Guillermo Martínez Jiménez wrote on Thu, 13 Sep 2012: > > >> On 12 Sep 2012, at 19:11, Johann Glaser wrote: > >> > >>> Can I translate this 1:1, i.e., define an Enum in Pascal and just igno

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Johann Glaser
Hi! Am Donnerstag, den 13.09.2012, 19:55 +0100 schrieb Graeme Geldenhuys: > On 13/09/12 17:35, Johann Glaser wrote: > > > > I also played with it, but only did a small "Hello World!" program. :-) > > :-) > > >http://johann-glaser.blogspot.co.at/2012/

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Johann Glaser
Hi! Am Donnerstag, den 13.09.2012, 16:34 +0100 schrieb Graeme Geldenhuys: > Hi, > > I received my Raspberry Pi today, and had a bit of a play. I'm using the > Debian 6 OS with my Pi. I downloaded the FPC+fpGUI ARM archive (only a > 3.5MB download), packaged by Paul Breneman. > >http://www.

[fpc-pascal] C Enum vs. Integer

2012-09-12 Thread Johann Glaser
Hi! I'm working on a header translation for LibUSB and its fork libusbx. They define several data types as C enums (for examples, see http://libusbx.sourceforge.net/api-1.0/group__desc.html ). They excessively use direct assignment of enum values, and even use one value multiple times (e.g. LIBUS

Re: [fpc-pascal] Readline substitute

2011-12-10 Thread Johann Glaser
Hi Krishna! Am Samstag, den 10.12.2011, 12:13 +0530 schrieb Krishna: > On Fri, Apr 29, 2011 at 10:18 PM, Johann Glaser wrote: > > Hi! > > > > I want to equip a program with a command line and therefore want a > > powerful and user-friendly input prompt. Currentl

Re: [fpc-pascal] Readline substitute

2011-12-10 Thread Johann Glaser
Hi Bernd! Am Donnerstag, den 08.12.2011, 20:44 +0100 schrieb Bernd: > 2011/5/1 Johann Glaser : > > > If you find any improvements or comments don't hesitate to send me an > > EMail. > > I just used it. I only needed readline() and add_history(), these two > func

Re: [fpc-pascal] Readline substitute

2011-05-01 Thread Johann Glaser
Hi! Am Freitag, den 29.04.2011, 18:48 +0200 schrieb Johann Glaser: > Hi! > > I want to equip a program with a command line and therefore want a > powerful and user-friendly input prompt. Currently I use > ReadLn(CmdLine); > which is not as user-friendly as desired. :-) >

[fpc-pascal] Readline substitute

2011-04-29 Thread Johann Glaser
Hi! I want to equip a program with a command line and therefore want a powerful and user-friendly input prompt. Currently I use ReadLn(CmdLine); which is not as user-friendly as desired. :-) The usual answer for this question is libreadline. I already worked with it (in plain C) but before I do

Re: [fpc-pascal] SNAPI Driver and USB HID

2010-09-07 Thread Johann Glaser
Hi! Am Dienstag, den 07.09.2010, 01:01 +0200 schrieb Luca Olivetti: > Al 06/09/10 22:28, En/na Johann Glaser ha escrit: > > > Unfortunately, /dev/ttyUSB0 is not standardized but requires different > > drivers for every chip (e.g. cp2101, ft232, ...). For the MS4407 scanner >

Re: [fpc-pascal] SNAPI Driver and USB HID

2010-09-06 Thread Johann Glaser
Hi Henry! Am Montag, den 06.09.2010, 22:44 +0100 schrieb Henry Vermaak: > On 6 September 2010 18:07, Johann Glaser wrote: > > Hi! > > > > I've bought a barcode scanner (Symbol MS4407) with an USB interface and > > want to use that with Linux. Unfortunately Motor

Re: [fpc-pascal] SNAPI Driver and USB HID

2010-09-06 Thread Johann Glaser
Hi Luca! > > As I'm not very confident that such a driver does exist, I've also > > evaluated the USB descriptors and such stuff. The scanner offers an USB > > HID class interface. > > From the manual I see that it also offers com port emulation. In that > case it should provide a serial interf

[fpc-pascal] SNAPI Driver and USB HID

2010-09-06 Thread Johann Glaser
Hi! I've bought a barcode scanner (Symbol MS4407) with an USB interface and want to use that with Linux. Unfortunately Motorola (who bought Symbol a few years ago) do not provide Linux drivers and also do not provide USB protocol documentation, even after some pushy support questions. For Windows

Re: [fpc-pascal] PC/SC

2010-09-01 Thread Johann Glaser
Hi! Am Mittwoch, den 01.09.2010, 22:55 +0200 schrieb Michael Van Canneyt: > > On Wed, 1 Sep 2010, Johann Glaser wrote: > > > Hi! > > > > Am Mittwoch, den 01.09.2010, 16:27 -0400 schrieb DaWorm: > >> Project Jedi has translations for Delphi. I don't kn

Re: [fpc-pascal] PC/SC

2010-09-01 Thread Johann Glaser
Hi! Am Mittwoch, den 01.09.2010, 16:27 -0400 schrieb DaWorm: > Project Jedi has translations for Delphi. I don't know how easily > they could be used for Linux and the PC/SC Lite used there, but it > could be a helpful start. Google pointed me to a Delphi component at http://www.nobbi.com/downlo

Re: [fpc-pascal] PC/SC

2010-09-01 Thread Johann Glaser
Hi! > > For a project with wireless chip cards (MiFare) I'm using a reader which > > is accessed via the PC/SC interface. Did anybody write a Pascal unit to > > translate the C header files? > > Is this for linux or windows ? I'm working on Linux. Thanks Hansi __

[fpc-pascal] PC/SC

2010-09-01 Thread Johann Glaser
Hi! For a project with wireless chip cards (MiFare) I'm using a reader which is accessed via the PC/SC interface. Did anybody write a Pascal unit to translate the C header files? Thanks Hansi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.o

Re: [fpc-pascal] [ANN] BeepFp v1.1 released

2010-04-21 Thread Johann Glaser
Hi! Am Dienstag, den 20.04.2010, 14:36 -0300 schrieb Jorge Aldo G. de F. Junior: > hahahahhahah > > BEEP has nothing to do with beeping from the application :P :-D Yes, it was a joke. :-p Sorry for the confusion, I should have added "SCNR" to my mail. :-) Bye Hansi _

Re: [fpc-pascal] [ANN] BeepFp v1.1 released

2010-04-19 Thread Johann Glaser
Hi! Am Montag, den 19.04.2010, 08:53 +0200 schrieb Wimpie Nortje: > Release note: > - > BeepFp 1.1 was released on April 18, 2010. > > BeepFp is a Free Pascal component to provide BEEP services in the object > pascal language. It is written as a binding on top of Vortex librar

Re: [fpc-pascal] some new features to delphi prisem

2010-02-23 Thread Johann Glaser
Hi! Am Samstag, den 20.02.2010, 19:01 +0100 schrieb Jürgen Hestermann: > > > y := case Other of > > bla : 'hello'; > > foo : 'bye'; > > baz : 'adius'; > >end; > > What do you gain with this? > Doesn't look much different to > > case Other of >bla : y := 'h

Re: [fpc-pascal] Linux USB programming using FPC

2009-06-15 Thread Johann Glaser
Hi! Am Montag, den 15.06.2009, 16:37 +0100 schrieb Henry Vermaak: > 2009/6/15 Johann Glaser : > > > > @FPC team: Are you interested in including the libusb header > > translations (and possibly the other stuff) to FPC rtl? > > I assume you mean the fpc packages. Jus

Re: [fpc-pascal] Linux USB programming using FPC

2009-06-15 Thread Johann Glaser
Hi! Am Montag, den 15.06.2009, 09:44 +0200 schrieb fpcl...@silvermono.co.za: > Hi guys, > > 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 it if someone with USB prog

Re: [fpc-pascal] Generating code form xmi files

2009-04-06 Thread Johann Glaser
Hi! Am Sonntag, den 05.04.2009, 21:47 -0700 schrieb leledumbo: > Err... how to use this codegen thing? Do I need to run it over Dia generated > diagrams or what? Sorry, I don't understand Python. Replace the installed codegen.py file by the one at the mentioned URL below. Then delete codegen.pyc

Re: [fpc-pascal] Generating code form xmi files

2009-04-05 Thread Johann Glaser
Hi! Am Sonntag, den 05.04.2009, 11:24 -0300 schrieb Osvaldo Filho: > http://www.opensubscriber.com/message/dia-l...@gnome.org/11515637.html The current version is available at http://k7103.svn.sourceforge.net/viewvc/k7103/branch/ng/dia-codegen/ Bye Hansi ___

Re: [fpc-pascal] Acces IO-ports in Linux with FPC 2.2.0

2009-03-05 Thread Johann Glaser
Hi! > I am developing a free pascal software in Linux, which uses the > parallel digital input/output card (with intel 8255) in an industrial PC. > I was able to compile and run without problems with FP 2.0.4. > > Now, that the oldlinux unit is removed in the latest FPC, > I cannot compile the pr

Re: [fpc-pascal] Verify if string is a valid number

2008-11-23 Thread Johann Glaser
Hi! Am Sonntag, den 23.11.2008, 14:18 -0200 schrieb Felipe Monteiro de Carvalho: > Hello, > > I would like to verify if a string is a valid number, as in StrToInt > will work when applied to it. The obvious way is making a try > statement: > > try > StrToInt(TokenStr); > Ad

Re: [fpc-pascal] SSocket: TSocketServer.StopAccepting

2008-09-06 Thread Johann Glaser
Hi! > I am using Synapse for all my socket work, so this might be a bit > different for you. But for a blocking listener in a thread (waiting at > an Accept), I call AbortSocket. It immediately stops all work on the > socket and lets you do the things you need to do. I'm sure there's a > simil

[fpc-pascal] SSocket: TSocketServer.StopAccepting

2008-08-30 Thread Johann Glaser
Hi! I'm using the SSocket unit with TSocketServer (and TInetServer) for TCP/IP communication in a multi-threaded application. To listen (and accept) connections from a client the method StartAccepting is called. This is a blocking function. To quit the server I call StopAccepting. The implementat

Re: [fpc-pascal] Understanding the .bin format

2008-08-13 Thread Johann Glaser
Hi! > Does anyone have the specification for the .bin (binary) file type? No. Because there is no such ".bin format". File name extensions (e.g. ".bin") are NOT the file format[1] (e.g. JPEG image)! Unfortunately Windows strives to let people assume that, but it is wrong. The extension is an ar

Re: [fpc-pascal] Access inherited^2

2008-08-10 Thread Johann Glaser
Hi! Am Sonntag, den 10.08.2008, 10:01 +0200 schrieb Vincent Snijders: > Johann Glaser schreef: > > Hi! > > > > How can I access an inherited inherited method which was overloaded? > > Try the following, mark the constructors as overloaded: > > > > ==

Re: [fpc-pascal] Access inherited^2

2008-08-04 Thread Johann Glaser
Hi! Am Montag, den 04.08.2008, 08:23 -0300 schrieb Joao Morais: > Johann Glaser wrote: > > How can I access an inherited inherited method which was overloaded? > > You can't, one of them will need to have a different name. Thanks. Why is a method hidden, just because

[fpc-pascal] Access inherited^2

2008-08-03 Thread Johann Glaser
Hi! How can I access an inherited inherited method which was overloaded? == Example: == {$mode objfpc}{$H+} Program TestInherited; Uses Classes, SysUtils; Type TFirst = class Constructor Create(A,B,C:Integer); End; TSecond = class(TFirst) Constructor Create(A,B:Integer);

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread Johann Glaser
Hi! Am Donnerstag, den 17.07.2008, 21:52 +0200 schrieb Mattias Gaertner: > On Thu, 17 Jul 2008 10:45:22 +0200 > "Vinzent Höfler" <[EMAIL PROTECTED]> wrote: > > > leledumbo <[EMAIL PROTECTED]> > > > > > > Jonas Maebe-2 wrote: > > > > > > > > Because there are easy ways around it (as you mention)

Re: [fpc-pascal] Easiest way to get Lazarus on Linux

2008-06-22 Thread Johann Glaser
Hi! Am Sonntag, den 22.06.2008, 10:12 +0200 schrieb Rainer Stratmann: > Exists there a Debian DC/DVD with Lazarus on it? > If yes where can I download it. Lazarus is in the Debian repository [1], so you only have to add a Debian mirror to your sources.list and install the Lazarus packages. Bye

Re: [fpc-pascal] Pascal postscript reading library

2008-04-24 Thread Johann Glaser
Hi! > I am a little impressed that everyone says postscript is so complex, > so I'm reevaluating which path to go, but I do have a competent > software developer available to whom send the task, so the amount of > work isn't that much a problem =P (as long as it is doable by 1 person > in a couple

Re: [fpc-pascal] Hmm 64 bit instructions for visual studio 2008 slower than doubles too ?

2008-03-11 Thread Johann Glaser
ever head about indentation? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Question on programming serial communication.

2008-02-25 Thread Johann Glaser
Hi! > 3. I will prefer to simply open a /dev/ttyXX from my central software and >talk to my controllers then. If this is interrupt driven or not, I do >not really (want to) care about. >I expect that an Operating System like Linux will be able to give me >that functionality and doe

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Johann Glaser
Hi! > > 1. What OS is most-used for Free Pascal? Windows? Linux? > > If I remember the download statistics correctly: > Windows comes first and then Linux. I want to note that mostly all Windows users download FreePascal and Lazarus by their own from the original download servers

Re: [fpc-pascal] function alias

2007-10-06 Thread Johann Glaser
Hi! > procedure OriginalProc(..).. {$IFDEF USEINLINE_ALIAS}inline;{$ENDIF} > begin > end; > ... > > procedure AliasProc(...); > begin > {$DEFINE USEINLINE_ALIAS} > OriginalProc(...); > {$UNDEF USEINLINE_ALIAS} > end; Are you sure this works? AFAIK the "preprocessor" doesn't follow function

Re: [fpc-pascal] Freepascal 2.2.0 released

2007-09-11 Thread Johann Glaser
Hi! > > procedure abc(const x:array of byte); > > > > begin > > end; > > > > var b:array[0..15] of byte; > > > > begin > > abc(b[0..9]); > > end; > > I see, pretty neat for handling array row-wise or the like, thanks. Is it also possible to run abc(b[2..9]); i.e. using a start-index diffe

[fpc-pascal] XTerm window resize [was: Re: hmm, freevision]

2007-08-30 Thread Johann Glaser
Hi! > Basically just that, if you change the size the console window fp is in, > the application sizes itself to fit the window. it's a skill I'd like > to duplicate, as the app will be a console app with an interface, and > the fvision demo didn't do the neat trick. Probably this is of inter

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Johann Glaser
Hi! Am Freitag, den 10.08.2007, 15:24 +0200 schrieb Michael Van Canneyt: > > On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > > > On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > It's super configurable. > > > > > > ./fpmake --help > > > > > > will give you all options, in

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-11 Thread Johann Glaser
Hi! Am Sonntag, den 10.06.2007, 15:35 +0200 schrieb Vincent Snijders: > Johann Glaser schreef: > > Hi! > > > >> I installed GesHi and one of the extensions: see > >> http://wiki.lazarus.freepascal.org/Executing_External_Programs for the > >> results.

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-10 Thread Johann Glaser
tutorials from the main page. Please also add all specialities about the FreePascal Wiki like configuration settings enabling/disabling some syntax elements, ... Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering __

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-07 Thread Johann Glaser
Hi! Am Donnerstag, den 07.06.2007, 15:28 +0200 schrieb Vincent Snijders: > Catalin Zamfir Alexandru schreef: > > If there was a petition for this, I would have signed it. We need SYNTAX > > highlithing ... :P NOW. :D > > > > If you do so, please use Geshi :D. It's the best and I use it a lot on

[fpc-pascal] Wiki Syntax Highlight

2007-06-07 Thread Johann Glaser
Hi! When reading Freepascal Wiki pages I find it quite tedious to read the source blocks, because they are simple blocks. Is it possible to use a syntax highlighted code block? Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engin

Re: [fpc-pascal] Web Service Toolkit - Questions

2007-06-07 Thread Johann Glaser
Hi! > > Studying the WST Wiki page > > http://wiki.freepascal.org/Web_Service_Toolkit I found that it seems not > > to be possible to serialize records. What is the difficulty implementing > > that? > > None, I suppose, except that you must parse it :-) I see. Are there any problems in the transp

[fpc-pascal] Web Service Toolkit - Questions

2007-06-07 Thread Johann Glaser
it is forwarded to an USB device), so it would be possible to pseudo-serialize the record into some byte stream before transport. Thanks Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering http://www.johan

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Johann Glaser
Hi! > > Is it possible to delay a SOAP call a few seconds at the service > > provider (until new data is available)? Hmm, this reveals the question > > what are the timeouts for TCP/IP connection and for the web services? > > I think a few seconds are possible, a timeout is usually longer than >

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Johann Glaser
e service provider (until new data is available)? Hmm, this reveals the question what are the timeouts for TCP/IP connection and for the web services? Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering http://www.johann-gla

[fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Johann Glaser
e provider) to notify the frontend (service consumer) as soon as a new measurement value has arrived. So this is the reverse direction of communication. Is this possible? Can you please point me to information how to accomplish this? Thanks Hansi -- Johann Glaser <[EMAIL PROTECTE

Re: [fpc-pascal] XML-RPC Client

2007-03-08 Thread Johann Glaser
Hi Michael! > > Today I wanted to run the XML-RPC example programs rpcserv and rpccli. > > The server starts well but the client doesn't seem to be up to date. I > > played around quite some time now but to no success. > > > > What is the current status of XML-RPC client implementation? > > > >

[fpc-pascal] XML-RPC Client

2007-03-07 Thread Johann Glaser
RTRUE} around the TXMLRPCClient in xmlrpc.pp? Thanks Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering http://www.johann-glaser.at/ ___ fpc-pascal maillist -

Re: [fpc-pascal] Linux serial interface

2006-12-26 Thread Johann Glaser
Hi! Am Dienstag, den 26.12.2006, 15:38 +0100 schrieb Rainer Stratmann: > Am Dienstag, 26. Dezember 2006 14:07 schrieb Michael Van Canneyt: > > On Tue, 26 Dec 2006, Rainer Stratmann wrote: > > > How to open correct the serial interface ('/dev/ttyS0') > > > > As far as I know, this is a terminal, so

Re: [fpc-pascal] Special math. functions (erf, erfc, ...)

2006-12-17 Thread Johann Glaser
Hi! > The direct/inverse students' distribution and F-distribution are > in the sources stdtrl.c and fdtrl.c of the Moshier's ldouble C library: > > http://www.moshier.net/ldouble.zip > > You can read about Cochran and SNK methods in many books, also available > via web. A starting point for sta

Re: [fpc-pascal] Special math. functions (erf, erfc, ...)

2006-12-16 Thread Johann Glaser
Hi! Am Samstag, den 16.12.2006, 11:30 + schrieb [EMAIL PROTECTED]: > Hi Hansi, > > > I'm searching for FreePascal implementations of some special > > mathematical functions related to statistics like erf, erfc and some > > other cumulative probability functions. Did anybody implement such >

Re: [fpc-pascal] Special math. functions (erf, erfc, ...)

2006-12-15 Thread Johann Glaser
Hi! Am Freitag, den 15.12.2006, 21:31 +0100 schrieb Florian Klaempfl: > Johann Glaser schrieb: > > Hi! > > > > I'm searching for FreePascal implementations of some special > > mathematical functions related to statistics like erf, erfc and some > > other

[fpc-pascal] Special math. functions (erf, erfc, ...)

2006-12-15 Thread Johann Glaser
rical Recipies PDF files (e.g. http://www.nrbook.com/b/bookcpdf/c6-2.pdf) and type ones Pascal program one-by-one to the printed source code? Thanks Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering http://www.johan

Re: [fpc-pascal] 64 bits

2006-03-20 Thread Johann Glaser
Hi! > It is known that some people have a problem accessing > www.freepascal.org, but unfortunately no one knows the exact cause. > Some people think a certain kind of icmp packets are filtered by the > firewall in front of the machine that hosts www.freepascal.org > (something with fragme

Re: [fpc-pascal] USB or RS-232 capability?

2005-01-14 Thread Johann Glaser
;Submit" button I first got an error message that the "/contrib/add.php3" script is not present at the server. After going back with my browsers "Back" button and again clicking the "Submit" button it worked. I tried now to look at the contribution form and again

Re: [fpc-pascal] USB or RS-232 capability?

2005-01-14 Thread Johann Glaser
drop me an email. Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering http://www.johann-glaser.at/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:

Re: [fpc-pascal]How to access a parallel port?

2004-01-05 Thread Johann Glaser
root access to use this call. That is the drawback of that method. Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering http://www.johann-glaser.at/ ___ fpc-pascal maillist -

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-06 Thread Johann Glaser
Hi! > They are available in source form only, not in binary form. Ah, I see. That is why they are not in my .debs. Why aren't they distributed in compiled form too? Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineer

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-06 Thread Johann Glaser
it intended that the MySQL 4.0 binding is available in binary-only distributions (.rpm, .deb, .tar.gz)? If yes then I'll write an EMail to the .deb maintainer. Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Eng

[fpc-pascal]MySQL 4.0 Files

2003-10-06 Thread Johann Glaser
these files any more. Why is this and what do you suggest to use MySQL 4.0 with FPC 1.0.10? Thanks Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrical Engineering http://www.johann-glaser.at/

Re: [fpc-pascal]ASCII plotting

2003-07-29 Thread Johann Glaser
The text interface does drawing plots as text. It even can draw 3D plots in text mode! Probably you have the chance to examine this program. Then try these feeatures! Bye Hansi -- Johann Glaser <[EMAIL PROTECTED]> Vienna University of Technology Electrica