Click here to Skip to main content
15,888,301 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegCreateKeyEx - Problems on Win Vista RC2 [modified] Pin
Nick_Chr20-Oct-06 1:14
Nick_Chr20-Oct-06 1:14 
AnswerRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
David Crow20-Oct-06 2:57
David Crow20-Oct-06 2:57 
GeneralRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
Nick_Chr20-Oct-06 3:24
Nick_Chr20-Oct-06 3:24 
GeneralRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
David Crow20-Oct-06 3:33
David Crow20-Oct-06 3:33 
AnswerRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
Michael Dunn20-Oct-06 8:26
sitebuilderMichael Dunn20-Oct-06 8:26 
AnswerSOLVED IT : RegCreateKeyEx - Problems on Win Vista RC2 Pin
Nick_Chr22-Oct-06 22:46
Nick_Chr22-Oct-06 22:46 
QuestionPROG TO ERASE...help Pin
zetkonrad20-Oct-06 1:09
zetkonrad20-Oct-06 1:09 
AnswerRe: PROG TO ERASE...help Pin
benjymous20-Oct-06 1:21
benjymous20-Oct-06 1:21 
Buy a big hammer!

Seriously, you'll struggle to really delete everything (since the OS will need some kind of access to the drive) - Do you want to kill off the FAT/NTFS tables, MBR, etc, too?

Most file shredders work by opening the file to be destroyed, and just overwriting it with random data multiple times. Repeat for each file you want to get rid of. This should be achievable in a few dozen lines of code. If you've already deleted all the files, then you'd just need to create a single file that fills the entire capacity of the drive, and keep writing garbage to that, until you're happy (run it a few times, then see if you can make undelete tools work)

--
Help me! I'm turning into a grapefruit!
Buzzwords!

GeneralRe: PROG TO ERASE...help Pin
PJ Arends20-Oct-06 6:06
professionalPJ Arends20-Oct-06 6:06 
GeneralRe: PROG TO ERASE...help Pin
Gary R. Wheeler20-Oct-06 11:45
Gary R. Wheeler20-Oct-06 11:45 
GeneralRe: PROG TO ERASE...help Pin
PJ Arends20-Oct-06 15:42
professionalPJ Arends20-Oct-06 15:42 
AnswerRe: PROG TO ERASE...help Pin
Hamid_RT20-Oct-06 2:34
Hamid_RT20-Oct-06 2:34 
QuestionRe: PROG TO ERASE...help Pin
David Crow20-Oct-06 2:59
David Crow20-Oct-06 2:59 
AnswerRe: PROG TO ERASE...help Pin
zetkonrad20-Oct-06 3:22
zetkonrad20-Oct-06 3:22 
Questiona question related to C Pin
Member 79930320-Oct-06 1:07
Member 79930320-Oct-06 1:07 
AnswerRe: a question related to C [modified] Pin
prasad_som20-Oct-06 1:13
prasad_som20-Oct-06 1:13 
AnswerRe: a question related to C Pin
benjymous20-Oct-06 1:14
benjymous20-Oct-06 1:14 
GeneralRe: a question related to C Pin
Member 79930321-Oct-06 0:06
Member 79930321-Oct-06 0:06 
AnswerRe: a question related to C Pin
Christian Graus20-Oct-06 1:14
protectorChristian Graus20-Oct-06 1:14 
AnswerRe: a question related to C Pin
David Crow20-Oct-06 2:59
David Crow20-Oct-06 2:59 
GeneralRe: a question related to C Pin
benjymous20-Oct-06 1:18
benjymous20-Oct-06 1:18 
QuestionHow to create icon during runtime? Pin
petrkar20-Oct-06 1:06
petrkar20-Oct-06 1:06 
AnswerRe: How to create icon during runtime? Pin
Hamid_RT20-Oct-06 2:34
Hamid_RT20-Oct-06 2:34 
AnswerRe: How to create icon during runtime? Pin
David Crow20-Oct-06 3:05
David Crow20-Oct-06 3:05 
Questionhow to build an img.h which includes three classes Pin
gentleguy20-Oct-06 1:03
gentleguy20-Oct-06 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.