c++dosdjgpp

How to enable the mouse in C++ program under DOS using DJGPP?


I've been using DJGPP for the first time recently and can't seem to enable mouse support. What's the best way?

Thanks for any help.


Solution

  • Gosh, this takes me back! You need the software interrupt 33H - see http://www.sentex.net/~ajy/mouseint.html, and a tutorial of sorts at http://www.writeka.com/emage/mouse_events.html.