direct access to hdd

Reply

Join Date: Nov 2007
Posts: 78
Reputation: tootypegs is an unknown quantity at this point 
Solved Threads: 0
tootypegs tootypegs is offline Offline
Junior Poster in Training

direct access to hdd

 
0
  #1
Dec 29th, 2007
Hi, basically i was wondering if there was anyway of directly accessing and writing to a harddrive? for example i have a specific sector on my harddrive which i would like to directly insert some code? does anyone know of any C++ functions or commands to do this?


thanks
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,149
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1435
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: direct access to hdd

 
0
  #2
Dec 29th, 2007
what operating system. how is the hdd formatted? You can't do that under MS-Windows without writing kenel-level code because the os won't let you.

You might try one of these ioctl functions
Last edited by Ancient Dragon; Dec 29th, 2007 at 1:39 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 78
Reputation: tootypegs is an unknown quantity at this point 
Solved Threads: 0
tootypegs tootypegs is offline Offline
Junior Poster in Training

Re: direct access to hdd

 
0
  #3
Dec 29th, 2007
Im am using XP with NTFS formatted hdd. I know that norton disk edit allows you to gain access to the hdd and ammend values directly to the hdd. Using c++ theres now way to view the hdd in hex for example then change values?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,149
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1435
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: direct access to hdd

 
0
  #4
Dec 29th, 2007
I don't know how Norton does it -- see some of the google links I previous posted (maybe you read my post before I added those links)
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC