Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!bionet!agate!ucbvax!hplabs!hp-sdd!ncr-sd!serene!rfarris From: rfarris@serene.CTS.COM (Rick Farris) Newsgroups: comp.dcom.lans Subject: Microsoft C calls to Novell 2.11 SFT Message-ID: <267@serene.CTS.COM> Date: 4 Oct 88 04:07:43 GMT Reply-To: rfarris@serene.cts.com (Rick Farris) Organization: Serenity BBS, Del Mar, Ca. Lines: 24 This is a question about interfacing to Novell 2.11 SFT from Microsoft C. After having problems with more complicated functions, I decided to try a very simple function call. This one is function # DBh (219), which is supposed to return the number of local disks in the AL. Here's the code, which causes my computer to die. #include union REGS inreg; main() { inreg.h.al = 0xdb; intdos(&inreg, &inreg); printf("al = %d\n", inreg.h.al); } Pretty simple, eh? How come it doesn't work? The computer locks up in the middle of the intdos call... Rick Farris rfarris@serene.cts.com voice (619) 259-6793 POB M KCBIW public access 259-7757 Del Mar CA 92014 ...!uunet!serene!rfarris serene.uucp 259-3704