| www.delorie.com/archives/browse.cgi | search |
| Date: | Wed, 16 Feb 2000 08:58:27 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Marcus <mesthlm AT hem DOT passagen DOT se> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: SV: System hangs when I exit my program |
| In-Reply-To: | <88d197$8q8$1@cubacola.tninet.se> |
| Message-ID: | <Pine.SUN.3.91.1000216085804.7588N-100000@is> |
| MIME-Version: | 1.0 |
| 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 |
On Wed, 16 Feb 2000, Marcus wrote:
> void uninitmouse(void)
> {
> __dpmi_regs regs;
> regs.x.ax = 0xC;
> regs.x.cx = 0;
> regs.x.es = 0;
> regs.x.dx = 0;
> _go32_dpmi_set_protected_mode_interrupt_vector(0x33, &old_mouse_handler);
> _go32_dpmi_free_real_mode_callback(&mouse_handler);
> ok_mouse = false;
> }
You need to call Int 33h before calling
_go32_dpmi_set_protected_mode_interrupt_vector to remove the hook.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |