Jonas Maebe wrote:
On 24 sep 2004, at 18:46, [EMAIL PROTECTED] wrote:
testData = record
testIndex : packed array [0..12] of integer;
end;
Wouldn't that solve any alignment problems ?
Or doesn't free pascal have a 'packed' directive ?
It does, but it only works for individual records. It's igno
04-09-24 08.49, skrev [EMAIL PROTECTED] följande:
>
> - Original Message -
> From: "Olle Raab" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 24, 2004 8:10 AM
> Subject: Re: [fpc-pascal]Apple Mac pointer problem
>
&g
- Original Message -
From: "Olle Raab" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 2004 8:10 AM
Subject: Re: [fpc-pascal]Apple Mac pointer problem
04-09-24 03.33, skrev Harald Houppermans följande:
>> Though looking
On 24 sep 2004, at 18:46, [EMAIL PROTECTED] wrote:
testData = record
testIndex : packed array [0..12] of integer;
end;
Wouldn't that solve any alignment problems ?
Or doesn't free pascal have a 'packed' directive ?
It does, but it only works for individual records. It's ignored for
arrays.
Jo
- Original Message -
From: "Olle Raab" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 2004 3:57 PM
Subject: Re: [fpc-pascal]Apple Mac pointer problem
04-09-24 09.44, skrev Stephen Downs följande:
>
> Thanks for everyones input (Haro
04-09-24 09.44, skrev Stephen Downs följande:
>
> Thanks for everyones input (Harold - it a Mac thing !!). I'm away for a couple
> of days now so won't be able to follow up until next week but I guess I need
> to read up on alignment of binary data.
>
> I assume from what you are saying is that
> -Original Message-
> From: Olle Raab [mailto:[EMAIL PROTECTED]
> Sent: 23 September 2004 21:45
> To: [EMAIL PROTECTED]
> Subject: Re: [fpc-pascal]Apple Mac pointer problem
>
> 04-09-23 23.09, skrev Stephen Downs följande:
>
> > -Original Message--
On 24 sep 2004, at 03:33, Harald Houppermans wrote:
But my first posting was correct... it's a pointer to a pointer to
data.
Are you sure you want that ?
Probably, yes. A pointer to a pointer to data is called a handle under
classic Mac OS, and was used a lot there (so the OS could defragment
t
04-09-24 03.33, skrev Harald Houppermans följande:
>> Though looking at the code again... why is testDataPointer declared (it
>> doesn't seem to be used) ?
>>
>> In other words...
>>
>> 1. Does the routine expect a pointer to data ?
>> 2. Does the routine expect a pointer to a pointer to data ?
- Original Message -
From: "Harald Houppermans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 2004 3:19 AM
Subject: Re: [fpc-pascal]Apple Mac pointer problem
>
> - Original Message -
> From: "Harald Houpperman
- Original Message -
From: "Harald Houppermans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 2004 3:06 AM
Subject: Re: [fpc-pascal]Apple Mac pointer problem
>
>
>
> - Original Message -
> From: "Stephe
- Original Message -
From: "Stephen Downs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 8:49 PM
Subject: [fpc-pascal]Apple Mac pointer problem
I am porting a Mac CodeWarrior project to FreePascal and have hit a
compile problem with a pointer. In my or
04-09-23 23.09, skrev Stephen Downs följande:
> -Original Message-
> From:Marcel Martin [mailto:[EMAIL PROTECTED]
> Sent:Thu 9/23/2004 9:18 PM
> To:[EMAIL PROTECTED]
> Cc:
> Subject: Re: [fpc-pascal]Apple Mac pointer problem
>
> Stephen Dow
-Original Message-
From: Marcel Martin [mailto:[EMAIL PROTECTED]
Sent: Thu 9/23/2004 9:18 PM
To: [EMAIL PROTECTED]
Cc:
Subject:Re: [fpc-pascal]Apple Mac pointer problem
Stephen Downs a écrit :
>
> I am porting a Mac CodeWarrior project to FreePascal and have
Stephen Downs a écrit :
>
> I am porting a Mac CodeWarrior project to FreePascal and have hit a
> compile problem with a pointer. In my original code I have a structure
> defined along the lines of
>
> testData = record
>testIndex : array [0..12] of integer;
> end;
>
> testDataPointer = ^te
15 matches
Mail list logo