Date: Tue, 15 Feb 2000 09:45:27 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Marcus cc: djgpp AT delorie DOT com Subject: Re: System hangs when I exit my program In-Reply-To: <888om7$o0t$1@cubacola.tninet.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 14 Feb 2000, Marcus wrote: > I have a big problem. My program can't shutdown correct and hangs on > shutdown. Sometimes the system hangs too. I use VESA 2, a mouse hook and a > keyboard hook. I think the hooks are the problem since I don't know how to > quit the mouse hook I do with INT 33 - Ch. Section 18.8 of the DJGPP FAQ list (v2/faq230b.zip from the usual DJGPP sites) explains in a footnote how to revert the mouse hook at program exit time. If something in the FAQ is unclear, please ask specific questions.