www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/21/16:39:01

From: Lennart Steinke <steinke AT zeus DOT adv-boeblingen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: user defined mouse handler
Date: Mon, 21 Oct 1996 04:40:22 -0600
Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany)
Lines: 26
Message-ID: <Pine.VUL.3.91.961021043234.24960A-100000@zeus.adv-boeblingen.de>
NNTP-Posting-Host: zeus.adv-boeblingen.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi!

 I've some problems with user defined mouse handlers
(int 0x33, function 0x0c).


 First: I've read the faq (18.8), and the according info file.

Second: My two questions:

 1) i'm using _go32_dpmi_allocate_real_mode_callback_iret() and set
    es to rm_segment and dx to rm_offset, call __dpmi_int()...
    Everything seems to work (no function does return a failure),
    but my handler isn't called.
    

 2) Is it save to call other mouse driver  functions while in the event 
    handler, like reading the mouse position?


till later,
Lenny
-- 
Lennart Steinke (steinke AT adv-boeblingen DOT de)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019