Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Thomas Nelson
Thank you, I will look into this also   Tom --- On Mon, 6/15/09, Vincent Snijders wrote: From: Vincent Snijders Subject: Re: [fpc-pascal] FPC on USB To: "FPC-Pascal users discussions" Date: Monday, June 15, 2009, 4:03 AM Thomas Nelson schreef: > Hello, >  I would like to put the FPC develo

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Thomas Nelson
Thank you, this is close to what I was hoping to do.   I was hoping to be able to install FPC on my system, then do a copy to my USB, setup a batch program to the "path" and go.  I did notice though that FPC writes to the windows registry and was curious as to how critical that information is to

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. Just for info: > > libusb 0.1* i

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

2009-06-15 Thread fpclist
Thank you. Regards, Nino /--- On Monday 15 June 2009 17:15:40 Johann Glaser wrote: > Hi! > Some time ago I did header translations for it. I'll attach it > (libusb.pas) plus some utilities and a class wrapper (usbutil.pas),... > Bye > Hansi ___

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

2009-06-15 Thread 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. Just for info: libusb 0.1* is not developed any more, since libusb 1.0 was released end of last year. libusb 1

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] FPC on USB

2009-06-15 Thread Graeme Geldenhuys
Marco van de Voort wrote: > > Is that complexity really needed at all? Might be as simple as making a No idea. As I mentioned, I don't use any of those "extra" applications. I simply have two scripts I run in a terminal session, and afterwards that session is fully working from any location on my

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Vincent Snijders
Marco van de Voort schreef: Is that complexity really needed at all? Might be as simple as making a small program that extracts the drive the stick is mounted on, then have that put in the environment, and then use %stickdrive% everywhere to recall it? "and then use %stickdrive% *everywhere* to

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > Here is the Lazarus - portable.apps link: >http://portableapps.com/node/18088 > > Please note: >I have never tried this myself. Is that complexity really needed at all? Might be as simple as making a small program that extracts the dri

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Graeme Geldenhuys
Vincent Snijders wrote: > > This is about Lazarus which includes FPC: > http://www.eightminds.com/archives/22 Ah, that made me think of the website: Portable Apps, which does just that. All kinds of applications that only run off the USB drive. Here is the Lazarus - portable.apps link: http:/

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

2009-06-15 Thread Henry Vermaak
2009/6/15 : > 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 programming experience could help by > pointing me to a website or docum

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Vincent Snijders
Thomas Nelson schreef: Hello, I would like to put the FPC development environment (including fpgui) on a USB. I live in the windows environment and would I am trying to find the proper procedure to be able to make FPC portable as I go from computer to computer. This is about Lazarus whic

Re: [fpc-pascal] Catching exception generated by another program

2009-06-15 Thread Jonas Maebe
On 15 Jun 2009, at 07:45, leledumbo wrote: Suppose I have a program written in C: #include int main() { return 1 / 0; } and a Pascal program that calls it: program prog; {$mode objfpc}{$H+} uses SysUtils; begin try ExecuteProcess('tes.exe',''); except on e: Exception do begin

Re: [fpc-pascal] FPC on USB

2009-06-15 Thread Graeme Geldenhuys
Thomas Nelson wrote: > I would like to put the FPC development environment (including > fpgui) on a USB. > > I live in the windows environment and would I am trying to find the > proper procedure to be able to make FPC portable as I go from > computer to computer. I have

[fpc-pascal] Linux USB programming using FPC

2009-06-15 Thread fpclist
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 programming experience could help by pointing me to a website or documentation that reveals a