From: Waldemar Schultz Newsgroups: comp.os.msdos.djgpp Subject: DPMI identification Date: Tue, 12 Oct 1999 14:21:48 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Distribution: world Message-ID: <380327DC.A134803D@ma.tum.de> NNTP-Posting-Host: pcritter1.mathematik.tu-muenchen.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.6 [de] (Win95; I) X-Accept-Language: de,en-US Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, is there a way to find out which DPMI server is actually serving a running DJGPP program? I think of a code fragment like i=_dpmi_whtsoever(); //or i=go32_whatsoever(); switch( i){ case A: CWSDPMI... case B: Win9x... case C: YA_DPMI default: DONT_KNOW.... } or any other solution would be fine. thanks. -- Gruss Waldemar Schultz. Technische Universität München, Zentrum Mathematik M1, D 80290 München Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228