Mail Archives: djgpp/2000/06/04/07:42:03
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?
- Raw text -