Correct, .pappl is a pointer to a list of pointers.

C68 definitely does not like structures of unknown sizes, which is  
why we have all the pointer fun.

Marcel, I haven't had time to try your suggest but will get to it.   
Deeply buried in the FileManager work for QDT and my work around is  
doing just fine.

Will report back later if it does solve the issue since would be  
easier to understand the code if written to fit into the C68  
implementation for qptr support.  (at least I would hope so).

Cheers,
jim

On Nov 19, 2005, at 11:08 AM, Marcel Kilgus wrote:

> The Dents wrote:
>> ww.pappl[0].pappw
>> ww.pappl[1].pappw
>> ww.pappl[2].pappw
>
> No, I'm pretty sure that can't be. pappl is a pointer to the list with
> pointers, so pappl needs to be dereferenced.
>
> Problem is, the PE structure is not modelled in the C structure, and
> I'm not sure it's even possible! The structure would need to have an
> unknown size and I guess C68 wouldn't be happy with that. Therefore
> some pointer magic is probably unavoidable.
>
> Marcel
>
> _______________________________________________
> QL-Users Mailing List
> http://www.q-v-d.demon.co.uk/smsqe.htm

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to