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

2005-01-14 Thread Johann Glaser
Hi!

> OK--that's helpful, guys. I'm still scratching my head on how to tackle 
> this project. Thanks.

Did you hear of libusb http://libusb.sourceforge.net/? I used it for
several projects, some of which use FPC too. If you want to have my
header translation to an FPC unit just 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://lists.freepascal.org/mailman/listinfo/fpc-pascal


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

2005-01-14 Thread Michael . VanCanneyt


On Fri, 14 Jan 2005, Johann Glaser wrote:

> Hi!
> 
> > OK--that's helpful, guys. I'm still scratching my head on how to tackle 
> > this project. Thanks.
> 
> Did you hear of libusb http://libusb.sourceforge.net/? I used it for
> several projects, some of which use FPC too. If you want to have my
> header translation to an FPC unit just drop me an email. 

It would be nice to have an entry in the contributed units page ?

Michael.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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

2005-01-14 Thread chromdildo
Hi,
I am very interested in the libusb header translation, too.
Do you have a public server where to put the files?
I like to write a configuration utility for the Eumex 504PC SE/USB (ISDN 
/ PBX) in fpc/linux.

I try to implement the commands found at 
http://amor.rz.hu-berlin.de/~h0444er1/eutrace/
in a lightweight gtk+ interface, without the LAN / WAN features, just 
configuration.

Hopefully, the header files to libusb will help me a lot... and released 
to the public if it is successful.

best regards.
./chrom

Johann Glaser wrote:
Hi!
 

OK--that's helpful, guys. I'm still scratching my head on how to tackle 
this project. Thanks.
   

Did you hear of libusb http://libusb.sourceforge.net/? I used it for
several projects, some of which use FPC too. If you want to have my
header translation to an FPC unit just drop me an email. 

Bye
 Hansi
 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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

2005-01-14 Thread Johann Glaser
Hi!

> > Did you hear of libusb http://libusb.sourceforge.net/? I used it for
> > several projects, some of which use FPC too. If you want to have my
> > header translation to an FPC unit just drop me an email. 
> 
> It would be nice to have an entry in the contributed units page ?

Silly me, didn't think of that before. The unit is now contributed.

BTW: At the Miscellaneous group of units there is a contribution called
"fpcusb". Its link is currently dead. Probably this entry should be
removed or the author contacted.

BTW²: When I clicked the "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 got the error message that add.php3 is missing.

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://lists.freepascal.org/mailman/listinfo/fpc-pascal



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

2005-01-14 Thread Michael . VanCanneyt


On Fri, 14 Jan 2005, Johann Glaser wrote:

> Hi!
> 
> > > Did you hear of libusb http://libusb.sourceforge.net/? I used it for
> > > several projects, some of which use FPC too. If you want to have my
> > > header translation to an FPC unit just drop me an email. 
> > 
> > It would be nice to have an entry in the contributed units page ?
> 
> Silly me, didn't think of that before. The unit is now contributed.
> 
> BTW: At the Miscellaneous group of units there is a contribution called
> "fpcusb". Its link is currently dead. Probably this entry should be
> removed or the author contacted.

I will do so.

> 
> BTW²: When I clicked the "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 got the error message that add.php3 is missing.

This was my mistake. I fixed it.

Michael.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] FPC and audio

2005-01-14 Thread Gustavo Galembeck

  Hi, folks

  What do you use to get audio in games/multimedia
applications for win32 and linux with FPC? I need to
play at least wav files and CD tracks, but it would be
great if I could also play mp3 or any other high
compression format.

  Thks,
  BRK





__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and audio

2005-01-14 Thread Pedro Lopez-Cabanillas
On Friday 14 January 2005 16:34, Gustavo Galembeck wrote:
>   What do you use to get audio in games/multimedia
> applications for win32 and linux with FPC? I need to
> play at least wav files and CD tracks, but it would be
> great if I could also play mp3 or any other high
> compression format.

You can try to port ACS. It is for Delphi & Kylix (Win32 and Linux), but 
perhaps it can be used with  FPC  1.9.6:
http://www.mtu-net.ru/aborovsky/acs/index.html

Regards,
Pedro


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Cross-compilation to Linux from win32

2005-01-14 Thread Simon Kissel
Hi,

after quite some time I thought to give FPC another try to see if it's
a suitable replacement for Kylix.

My goal is to be able to cross-compile Linux elf targets from win32.

So I downloaded and installed 1.9.6, and after that added the units
packages for Linux.

Run up FP, compiled hello world, worked. Switched the target in FP to
linux, compiled again - and wow, it also worked. Using the verbose
output I could even see it using the Linux units etc. All fine.

Until I examined the generated executable "hello". It looks like it's
a Linux binary packed into a PE file. Very weird. Doesn't run under
Linux of course, and does nothing under Windows.

Next attempt was to use fpc directly:

C:\pp\demo\text>fpc -Aelf hello.pp
Free Pascal Compiler version 1.9.6 [2004/12/31] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling hello.pp
Linking hello.exe
31 Lines compiled, 0.4 sec

Well, no.

Some advise on what to do would be very welcome.

Thanks,

Simon


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] test please ignore

2005-01-14 Thread Luiz Américo
test
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal