[fpc-pascal] external variable

2008-09-28 Thread Felipe Monteiro de Carvalho
Hello, Is ist possible to declare a external variable like in C? In the Cocoa headers there are some variables declared as external, like this: APPKIT_EXTERN NSString *NSToolbarSpaceItemIdentifier; How would it be possible to access them in Pascal? var NSToolbarSpaceItemIdentifier: CFStringRef

Re: [fpc-pascal] Re: command-line+Carbon template

2008-09-28 Thread Jonas Maebe
On 28 Sep 2008, at 17:44, [EMAIL PROTECTED] wrote: Be all that as it may, this whole Rube Goldberg runs great when compiled under CodeWarrior using MPW file i/o routines. With FPC's Turbo routines, I'm seeing some strange "race conditions" that lead me to believe the FPC version of the pro

[fpc-pascal] Re: command-line+Carbon template

2008-09-28 Thread logrus
I didn't describe the problem I was experiencing becasue it seemed unlikely that anyone else would ever find themselves in this particular bind. That, and it didn't seem germane to the question I was asking -- namely, what to include in the project so as to access Carbon file routines from a comman

Re: [fpc-pascal] [RFC] Modification to packages/paszlib/src/zipper.pp

2008-09-28 Thread Michael Van Canneyt
On Sun, 28 Sep 2008, Michael Van Canneyt wrote: > > > On Sun, 28 Sep 2008, Brad Campbell wrote: > > > With reference to this thread.. > > http://www.nabble.com/FPC-Zip-library-td15145102.html > > > > and the resulting bug entry.. > > http://bugs.freepascal.org/view.php?id=10787 > > > > I ha

Re: [fpc-pascal] [RFC] Modification to packages/paszlib/src/zipper.pp

2008-09-28 Thread Michael Van Canneyt
On Sun, 28 Sep 2008, Brad Campbell wrote: > With reference to this thread.. > http://www.nabble.com/FPC-Zip-library-td15145102.html > > and the resulting bug entry.. > http://bugs.freepascal.org/view.php?id=10787 > > I had a similar requirement, so I went and had a crack at patching zipper.pas

[fpc-pascal] [RFC] Modification to packages/paszlib/src/zipper.pp

2008-09-28 Thread Brad Campbell
With reference to this thread.. http://www.nabble.com/FPC-Zip-library-td15145102.html and the resulting bug entry.. http://bugs.freepascal.org/view.php?id=10787 I had a similar requirement, so I went and had a crack at patching zipper.pas. It does precisely what _I_ want it to do, but it's not