🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.asm
Article #352

How removing mouse cursor in NT ?

#352
From: G. Jacobs
Date: Wed, 09 Sep 1998 00:00
32 lines
2304 bytes
Hi,

I got a very strange problem. When you create a dos application and you
start it in NT in full-screen modus from the explorer itself ( Start->Run ),
you'll always see a mouse cursor until the application is terminated.
If you enter this small code below in DEBUG, you'll see what I mean:

    27AA:0100 B80000        MOV     AX,0000
    27AA:0103 CD16          INT     16
    27AA:0105 3C1B          CMP     AL,1B
    27AA:0107 75F7          JNZ     0100
    27AA:0109 B8004C        MOV     AX,4C00
    27AA:010C CD21          INT     21

The strange thing is, when you run it in CMD.EXE you don't see the mouse
cursor !
Is there a way to turn this mouse cursor off *without* using interrupts ?
Because I'd like to create a Win32 console application and since interrupts
are no more allowed in there, i can't use something like:
MOV AX, 2
INT 33

Neither can i start this application in CMD.EXE, because it will always
start in another window...

Another weird thing is that it only appears in NT: if you run this in
Win95/98 you'll see no mouse cursor !

Any help at all would be greatly appreciated.


G. Jacobs
Technical Details
Message-ID: <6t62t0$36k$1@winter.news.erols.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7d8d,4a55990401ac6b1e,start
X-Google-Attributes: gidf7d8d,public
X-Google-Thread: feaef,4a55990401ac6b1e,start
X-Google-Attributes: gidfeaef,public
X-Google-Thread: fe95f,4a55990401ac6b1e,start
X-Google-Attributes: gidfe95f,public
X-Google-Thread: 1125f6,4a55990401ac6b1e,start
X-Google-Attributes: gid1125f6,public
X-Google-Thread: 114917,4a55990401ac6b1e,start
X-Google-Attributes: gid114917,public
X-Google-Thread: 104440,4a55990401ac6b1e,start
X-Google-Attributes: gid104440,public
From: "G. Jacobs" <gerry.jacobs@ping.be>
Subject: How removing mouse cursor in NT ?
Date: 1998/09/09
Message-ID: <6t62t0$36k$1@winter.news.erols.com>
X-Deja-AN: 389392519
Approved: <johnfine@erols.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.0
X-Mozilla-Status: 0801
X-Complaints-To: abuse@rcn.com
X-Trace: winter.news.erols.com 905350880 3284 207.172.241.229 (9 Sep 1998 14:21:20 GMT)
Organization: EUnet Belgium, Leuven, Belgium
Newsgroups: alt.lang.asm,borland.public.tasm,comp.lang.asm.x86,de.comp.lang.assembler.misc,de.comp.lang.assembler.x86,microsoft.public.masm