Path: utzoo!utgpu!watserv1!watmath!att!bellcore!rutgers!cs.utexas.edu!uunet!aplcen!haven!umd5!cgs From: cgs@umd5.umd.edu (Chris G. Sylvain) Newsgroups: comp.sys.ibm.pc.programmer Subject: Bug in QC25/SAMPLES/MOUSE.C Keywords: _asm{ ret } Message-ID: <6678@umd5.umd.edu> Date: 16 Jun 90 15:54:45 GMT Organization: University of Maryland, College Park Lines: 14 Has anyone else noticed the bug in MouseInit(), which is supplied as part of MOUSE.C ? The bare _asm{ ret } when the mouse is not available is NOT the way to return( 0 ); without trashing the program stack. If the code is changed to split the _asm block and use a return() instead, then it works fine. I guess everyone at Microsoft has a mouse ? -- --==---==---==-- Outgrabe: Like a bellowing and whistling, with a kind sneeze in the middle -- ARPA: cgs@umd5.UMD.EDU BITNET: cgs%umd5@umd2 -- -- UUCP: ..!uunet!umd5.umd.edu!cgs --