how can i read the cd sector under win98
i have read the msdn , but it say many things about making two dll
one 16 bit , other 32 bit.

as i make this project in VC i even don't know how to compile 16 bit using VC 6.

so plz help

is their any tut explaining this in much details

thanks for your time
Posted on 2002-08-03 08:21:21 by Sa6ry
You can use CreateFile and DeviceIoControl to access a drive.
You will need to use the cdrom driver vxd in your call to CreateFile though.
You can look both up in msdn library.
I believe this is the easiest way (though this is pretty advanced to me) but you could also use aspi.
Posted on 2002-08-03 11:46:49 by goofee
You can try as goofee told:

1. CreateFile '\\.\VWIN32'
2. DeviceIoControl, hVWIN32, VWIN32_DIOC_DOS_INTXX,...,&Buf,sizeof Buf,&Buf,sizeof Buf, &dwWritten, ...

VWIN32_DIOC_DOS_INTXX ; don't know for CD-ROM (?)
VWIN32_DIOC_DOS_INT25 ; for floppy

Try searhing in 98DDK\INC\;
or maybe Ralf Brown Interrupt list for INTXX for CD-ROM
(is that possible?) - I cannot check right now, I have no Win9x.

Example for int 25 is in
Posted on 2002-08-03 20:18:51 by Andycar
I searched for these three key words at this site:

read cd* sector

It gives a way to do the read with a driver in 98.

You can get the 16 bit C compiler and linker in the ddk from Microsoft.
Posted on 2002-08-04 11:32:16 by roaknog
thanks alot for the Vxd

i should learn to search the board fisrt .

thanks again.
Posted on 2002-08-04 12:29:14 by Sa6ry