Path: chuka.playstation.co.uk!news From: "Steve Dunn" Newsgroups: scee.yaroze.programming.libraries Subject: Re: GsLinkObject4 Declaration Date: Mon, 16 Mar 1998 09:10:14 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 51 Message-ID: <6eiqau$dud10@chuka.playstation.co.uk> References: <6bi1l7$b217@chuka.playstation.co.uk> <350CDCF8.3E2A3EF8@immd9.informatik.uni-erlangen.de> NNTP-Posting-Host: userm076.uk.uudial.com X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 The header file is correct in this instance. Don't know why it want's it that way ? But it works. Regards Steve >Hello Steve! > >In fact both are correct to my mind. Especially for the first parameter >position you have to take an unsigned long * variable as a pointer to the >TMD data. When you pass this variable to the GsLinkObject4 function you >have to cast it to an unsigned long value. This sounds very nasty, but it >works >(it seems to be a mistake in the header file). > >Steve Dunn wrote: > >> The library reference sighs it >> GsLinkObject4( u_long*, GsDOBJ2*, u_long) >> >> but all the headers (code warrior and Sony) say it's >> GsLinkObject4( u_long, GsDOBJ2*, int) >> >> Any ideas on what's correct ? The samples I'm going through assume the >> former declaration, and of course, it's not compiling >> >> Cheers >> >> Steve > > > >Christoph Luerig > > >