Organization: Multisoft Message-ID: <000301bfce16$aef8b340$4202a8c0@piter> From: "Rat" To: Subject: Please, help! Date: Sun, 4 Jun 2000 14:08:48 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hello, guru! I have a two trouble. 1. Under MS-DOS call to BIOS int 13h function 15h all right, in case Windows 98SE for all hard drives carry flag alvays return 1. Why? union REGS in, out; in.h.ah = 0x15; in.h.dl = drive; int86( 0x13, &in, &out ); // - Return CF==1 for hard drives (under Windows 98SE) if( out.x.cflag ) Present[i] = false; else {... skip some code... If i compile this code with Borland C++ 3.1 compiler - all working done. 2. Under DOS linker not work - long filenames, how i can compile it under DOS? Why compiler _UNDER DOS_ use LONG FILENAMES!? How i can solve this problem?