we r doing a project on data recovery......
is there any way how to access hard disk directly.....

Claiming "urgency" isn't our problem, just because it's your problem.
http://www.catb.org/~esr/faqs/smart-questions.html#urgent

Spending a bit more time on composing your post is a good thing.
http://www.catb.org/~esr/faqs/smart-questions.html#writewell

As is, being more specific about your problem.
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
Eg, stating your operating system and compiler is a pre-requisite.

> is there any way how to access hard disk directly.....
Does a screwdriver and a torx set count?

i am sorry......

we are trying to access the hard disk using c++ code for FAT 32 in windows xp in our data recovery project ...but it does not allow us to access..is there any tool or way to access the hard disk?

I think you will have to write a kernel-level program to do that. search microsoft site for the Windows DDK (device driver kit)