Path: chuka.playstation.co.uk!news From: Christoph Luerig Newsgroups: scee.yaroze.programming.libraries Subject: Re: GsLinkObject4 Declaration Date: Mon, 16 Mar 1998 09:04:08 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 30 Message-ID: <350CDCF8.3E2A3EF8@immd9.informatik.uni-erlangen.de> References: <6bi1l7$b217@chuka.playstation.co.uk> NNTP-Posting-Host: faui90.informatik.uni-erlangen.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04C-SGI [en] (X11; I; IRIX 6.3 IP32) 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