Path: chuka.playstation.co.uk!news From: alex@teeth.demon.co.uk (Alex Amsel) Newsgroups: scee.yaroze.programming.libraries Subject: Re: VSyncCallback Date: Sun, 20 Jul 1997 20:09:27 GMT Organization: Into Beyond Lines: 22 Message-ID: <33d66133.1428347@news.playstation.co.uk> References: <33BB7448.19E8E81D@cryogen.com> Reply-To: alex@teeth.demon.co.uk NNTP-Posting-Host: teeth.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent .99g/32.335 On Thu, 03 Jul 1997 11:43:36 +0200, Alain Malek did quoth at me: > I tried to use the VSyncCallback function. >But I couldn't share variables between the callback >routine and the main program. With optimisation on is where the problems usually occur. Probably the data pointer not being reloaded... Easy fix is to ensure your make file compiles this handler with different options to your other code (i.e. no optimisation). Regards, Alex Amsel + Tuna Technologies + Windows 95/NT, Console and Internet + + The PC/PS-X Game Tools and Game Development Specialists + + Iwan Roberts, Norwich is a great place, please go! WWFC +