Path: chuka.playstation.co.uk!news From: "Jon Prestidge (Moose)" Newsgroups: scee.yaroze.freetalk.english Subject: Re: GsGetTimInfo Problems Date: Tue, 28 Mar 2000 21:59:04 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 17 Message-ID: <8br6m1$imc5@chuka.playstation.co.uk> References: <38DE8C08.B63A2993@yahoo.com> <8br4jj$imc4@chuka.playstation.co.uk> NNTP-Posting-Host: host213-1-79-195.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 oops soory I' hadn't read the function prototype properly.... also I can see what the brackets do now .. but I may as well correct the code snippets I gave anyway:- GsGetTimInfo( (unsigned long *) pT->base, pI ); // if base is a pointer. GsGetTimInfo( (unsigned long *) &pT->base, pI ); // if base is the actual data. Have you been able to look at the values in a debugger? If your dev system does not have a debugger then try and printf the addresses:- printf( " %X, %X ", pT->base, pI ); // (or printf( " %X, %X ", &pT->base, pI ) as applicable) and see if they look sensible.