Click here to Skip to main content
15,919,422 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: utf to ascii conversion Pin
MicroVirus6-Apr-13 6:52
MicroVirus6-Apr-13 6:52 
GeneralRe: utf to ascii conversion Pin
khushboo gupta7-Apr-13 18:33
khushboo gupta7-Apr-13 18:33 
QuestionT13 Secure Erase Pin
RomTibi5-Apr-13 11:46
RomTibi5-Apr-13 11:46 
AnswerRe: T13 Secure Erase Pin
dusty_dex5-Apr-13 21:08
dusty_dex5-Apr-13 21:08 
GeneralRe: T13 Secure Erase Pin
RomTibi6-Apr-13 2:18
RomTibi6-Apr-13 2:18 
GeneralRe: T13 Secure Erase Pin
dusty_dex6-Apr-13 7:53
dusty_dex6-Apr-13 7:53 
GeneralRe: T13 Secure Erase Pin
RomTibi6-Apr-13 8:39
RomTibi6-Apr-13 8:39 
AnswerRe: T13 Secure Erase Pin
Randor 6-Apr-13 17:56
professional Randor 6-Apr-13 17:56 
Hi,

Everything you need is in the ATA specifications. I believe the first ATA spec that contained the secure erase command was in ATA3 from 1997. However not all hard drive manufacturers implemented this until around 2001.
http://www.stanford.edu/~ouster/cgi-bin/cs140-winter13/pintos/specs/ata-3-std.pdf[^]

The latest version is ATA-8:
http://www.t13.org/documents/UploadedDocuments/docs2006/D1699r2b-ATA8-ACS_CB.pdf[^]

If I remember correctly you will need to set the ATA password first with command 0xF1. You will then need to issue ATA command 0xF3 followed by an 0xF4.

If you are doing this in Microsoft Windows... you will need to implement this as a device driver. You cannot issue ATA commands from a usermode application.

Good Luck,
-David Delaune
GeneralRe: T13 Secure Erase Pin
RomTibi7-Apr-13 6:34
RomTibi7-Apr-13 6:34 
GeneralRe: T13 Secure Erase Pin
Joe Marley9-Apr-13 11:32
Joe Marley9-Apr-13 11:32 
QuestionScreen Lock for MFC App Pin
Donguy19765-Apr-13 11:31
Donguy19765-Apr-13 11:31 
AnswerRe: Screen Lock for MFC App Pin
André Kraak5-Apr-13 12:29
André Kraak5-Apr-13 12:29 
AnswerRe: Screen Lock for MFC App Pin
Randor 6-Apr-13 18:18
professional Randor 6-Apr-13 18:18 
QuestionPlaySound method doesn't function in a Win7 Srvany Service Pin
rhfritz15-Apr-13 5:48
rhfritz15-Apr-13 5:48 
AnswerRe: PlaySound method doesn't function in a Win7 Srvany Service Pin
MicroVirus10-Apr-13 0:23
MicroVirus10-Apr-13 0:23 
QuestionOnFileOpen crashing Pin
_Flaviu4-Apr-13 22:31
_Flaviu4-Apr-13 22:31 
AnswerRe: OnFileOpen crashing Pin
CPallini4-Apr-13 22:40
mveCPallini4-Apr-13 22:40 
AnswerRe: OnFileOpen crashing Pin
Jochen Arndt4-Apr-13 22:42
professionalJochen Arndt4-Apr-13 22:42 
GeneralRe: OnFileOpen crashing Pin
_Flaviu4-Apr-13 23:07
_Flaviu4-Apr-13 23:07 
GeneralRe: OnFileOpen crashing Pin
_Flaviu4-Apr-13 23:26
_Flaviu4-Apr-13 23:26 
GeneralRe: OnFileOpen crashing Pin
Jochen Arndt4-Apr-13 23:35
professionalJochen Arndt4-Apr-13 23:35 
GeneralRe: OnFileOpen crashing Pin
_Flaviu4-Apr-13 23:46
_Flaviu4-Apr-13 23:46 
GeneralRe: OnFileOpen crashing Pin
Jochen Arndt5-Apr-13 0:12
professionalJochen Arndt5-Apr-13 0:12 
GeneralRe: OnFileOpen crashing Pin
_Flaviu5-Apr-13 0:27
_Flaviu5-Apr-13 0:27 
GeneralRe: OnFileOpen crashing Pin
Jochen Arndt5-Apr-13 0:31
professionalJochen Arndt5-Apr-13 0:31 

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.