Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!uunet!mcsun!hp4nl!philapd!ssp16!aruit From: aruit@idca.tds.PHILIPS.nl (A. de Ruiter) Newsgroups: comp.sys.ibm.pc Subject: Check if ANSI.SYS driver is loaded. Keywords: ANSI.SYS Message-ID: <622@ssp16.idca.tds.philips.nl> Date: 16 Nov 89 09:07:11 GMT Article-I.D.: ssp16.622 Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 21 Is there anybody out there who knows how you can check from out a user program if the ANSI.SYS driver is loaded. In a c/assembler program I frequently use several ANSI escape sequences to write certain information to the display. In case the ANSI.SYS driver of MS-DOS is not loaded from config.sys, the output on the display looks terrible. Now I want to check in the beginning of my program if the ANSI.SYS driver is running or not. In that way I can give an error message to inform the user to load the driver first before restarting the program. Please if you have suggestions and/or c/assemble sources send them to me. I use MSC5.1, MASM5.1 and CTOOLS+5.0 for the development of this program. -------------------------------------------------------------------------------- _ __ |Anton de Ruiter /_| __ /_ _ __ __/_ /__) ./_ _ _|Philips TDS, Department OA&T / |/ /(_ (_)/ / (_/(-' / \ (_//(_ (-'/ |P.O. Box 245 __ ____ __ ___ |7300 AE Apeldoorn, The Netherlands /__)/_ ./ ._ _ / / \ /___ |Internet: aruit@idca.tds.philips.nl / / //(_ //_)/_) / /___/ ___/ |UUCP : ..!mcvax!philapd!aruit / |Phone : +31 55 433514 --------------------------------------------------------------------------------