From: nikki AT gameboutique DOT co (nikki) Newsgroups: comp.os.msdos.djgpp Subject: Re: real mode calls pmode Date: 24 Feb 1997 13:53:30 GMT Organization: GameBoutique Ltd. Lines: 16 Message-ID: <5es6gq$hsd@flex.uunet.pipex.com> References: <5emufu$e7u AT flex DOT uunet DOT pipex DOT com> NNTP-Posting-Host: www.gameboutique.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp ack. i found the problem in the end :) the 90% of the time it was working was when the program was running, however the application terminated without me realising and when the callback occurred again it generated the error because it had exit()'d without releasing the callback :) thanks to everyone who helped, particularly eli who deserves a medal for his patience. regards, nik -- Graham Tootell nikki AT gameboutique DOT com