getting memory reference error

i wrote a device driver for virtual CDROM for windows 2000 professional
but its generating memory reference error. i used NTDDK for compiling and
using direct I/O for getting the input.

by virtual CDROM i mean that first of all created a CD image on hard disk
and now reading from it as an external CDROM device to the computer.

able to create device letter but when i double click in my computer on my
device icon blue error screen appears which says memory reference error
with an address of the memoryu location.

wont able to diagnose the cause need urgent help

thanks

Start by enabling the driver verifier. This is standard for all driver
development, as it helps catch many, many common coding mistakes earlier
and with better diagnosability. Just run ‘verifier.exe’ and follow the
prompts – be sure to enable it for your driver or choose “all unsigned
drivers”. Next, hook up a kernel debugger and repro the problem. You
should now get a nice break in the debugger with an explanation (if
somewhat brief) about what the problem is. From here, you must
troubleshoot your code and back-track to figure out why it happened.

If any of the above doesn’t make sense to you, you need an introduction
to debugging on NT. I don’t know offhand where you can get that. There
are a number of CD emulators out on the market today, so you could also
consider just using one of those instead of developing your own.

.

-----Original Message-----
From: Faraz Mustaqeem [mailto:xxxxx@yahoo.com]
Sent: Tuesday, December 16, 2003 5:55 PM
Subject: getting memory reference error

i wrote a device driver for virtual CDROM for windows 2000 professional
but its generating memory reference error. i used NTDDK for compiling
and
using direct I/O for getting the input.

by virtual CDROM i mean that first of all created a CD image on hard
disk
and now reading from it as an external CDROM device to the computer.

able to create device letter but when i double click in my computer on
my
device icon blue error screen appears which says memory reference error
with an address of the memoryu location.

wont able to diagnose the cause need urgent help

thanks