RE: [fpc-pascal] PowerPC: zipper streaming error

2008-11-04 Thread EarMaster - Bent Olsen
> http://bugs.freepascal.org > > Jonas Thanks Jonas, I didn't notice the tabs above until yesterday, so I thought it was a Lazarus only bugtracker. Best regards, Normann ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasc

[fpc-pascal] PowerPC: zipper streaming error

2008-11-03 Thread EarMaster - Bent Olsen
Hi all, Is anyone working on the unit zipper? I came across a problem when using the zip objects on PowerPC - they don't like files zipped on i386, and i386 don't like files zipped with PowerPC, but the PowerPC can zip its own files and read those again. I guess the zipper unit is lacking a chec

[fpc-pascal] Chinese/Japanese codepages to UTF8

2008-10-07 Thread EarMaster - Bent Olsen
Hi, The unit LConvEncoding has some functions to convert between codepages and UTF8, like CP1252ToUTF8 and UTF8ToCP1252, but codepages for Chinese or Japanese isn't supported. What do others use to convert text with these codepages to UTF8? Best regards, Normann

RE: [fpc-pascal] Carbon: i386 and PPC API differences

2008-09-30 Thread EarMaster - Bent Olsen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] On Behalf Of Jonas Maebe > Sent: 29. september 2008 16:26 > To: FPC-Pascal users discussions > Subject: Re: [fpc-pascal] Carbon: i386 and PPC API differences > > "const inDescription: ComponentDescriptio

[fpc-pascal] Carbon: i386 and PPC API differences

2008-09-29 Thread EarMaster - Bent Olsen
Hi all, I use Xcode to find samples of codes and try to make it work on FPC/Lazarus. One example opens an AUGraph and send MIDI messages - a small sample. It calls AUGraphNewNode which returns a node from 1 to n, and it works perfectly in FPC on Carbon/i386, and of course for Xcode on the same mac

RE: [fpc-pascal] Carbon: i386 vs PPC API's

2008-09-29 Thread EarMaster - Bent Olsen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] On Behalf Of Jonas Maebe > Sent: 29. september 2008 10:46 > To: FPC-Pascal users discussions > Subject: Re: [fpc-pascal] Carbon: i386 vs PPC API's > > On 29 Sep 2008, at

[fpc-pascal] Carbon: i386 vs PPC API's

2008-09-29 Thread EarMaster - Bent Olsen
Hi all, Is there any precautions one should make when sharing FPC codes between i386 and PowerPC? I've few calls to AudioToolbox API's which works fine under i386, but crashes in PPC - the exact API call is AudioConverterNew, and the records passed to the API looks good, and is also returned by A

RE: [fpc-pascal] Mac OSX API call

2008-08-29 Thread EarMaster - Bent Olsen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] On Behalf Of Marco van de Voort > Sent: 29. august 2008 12:39 > To: FPC-Pascal users discussions > Subject: Re: [fpc-pascal] Mac OSX API call > > In our previous episode, Vincent Snijders said: > > > > I

RE: [fpc-pascal] Mac OSX API call

2008-08-29 Thread EarMaster - Bent Olsen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] On Behalf Of Vincent Snijders > Sent: 29. august 2008 12:27 > To: FPC-Pascal users discussions > Subject: Re: [fpc-pascal] Mac OSX API call > > I think it should be (no var for the pointer): I tried, an

[fpc-pascal] Mac OSX API call

2008-08-29 Thread EarMaster - Bent Olsen
Hi all, I've been playing with audio unit framework on Mac OSX 10.4, and trying to make a sample from Xcode (PlayAudioFileLite) running on Lazarus 0.9.25/rev 15279 with FPC 2.2.0. I'm nearly done, and I'm only getting an error -50 (error in user parameter list) on the last API call from the callb