Click here to Skip to main content
15,921,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to include minizip code into vc++ 2010 SDI application Pin
syam0718-Apr-13 3:29
syam0718-Apr-13 3:29 
QuestionRe: how to include minizip code into vc++ 2010 SDI application Pin
David Crow8-Apr-13 5:54
David Crow8-Apr-13 5:54 
QuestionUnicode CString and fopen problem Pin
DSPCottage7-Apr-13 18:45
DSPCottage7-Apr-13 18:45 
AnswerRe: Unicode CString and fopen problem Pin
tagopi7-Apr-13 20:21
tagopi7-Apr-13 20:21 
GeneralRe: Unicode CString and fopen problem Pin
DSPCottage4-May-13 18:38
DSPCottage4-May-13 18:38 
AnswerRe: Unicode CString and fopen problem Pin
Jochen Arndt7-Apr-13 21:00
professionalJochen Arndt7-Apr-13 21:00 
GeneralRe: Unicode CString and fopen problem Pin
DSPCottage4-May-13 18:38
DSPCottage4-May-13 18:38 
Questionquestion about custom symbol in arcmap Pin
ts_chen6-Apr-13 15:40
ts_chen6-Apr-13 15:40 
QuestionIf this fires you have a mixed DEBUG/RETAIL build - now what ? Pin
Vaclav_6-Apr-13 8:34
Vaclav_6-Apr-13 8:34 
AnswerRe: If this fires you have a mixed DEBUG/RETAIL build - now what ? Pin
pasztorpisti6-Apr-13 10:23
pasztorpisti6-Apr-13 10:23 
Questionutf to ascii conversion Pin
khushboo gupta5-Apr-13 23:12
khushboo gupta5-Apr-13 23:12 
AnswerRe: utf to ascii conversion Pin
Richard MacCutchan6-Apr-13 1:47
mveRichard MacCutchan6-Apr-13 1:47 
GeneralRe: utf to ascii conversion Pin
khushboo gupta6-Apr-13 2:39
khushboo gupta6-Apr-13 2:39 
GeneralRe: utf to ascii conversion Pin
Richard MacCutchan6-Apr-13 3:28
mveRichard MacCutchan6-Apr-13 3:28 
GeneralRe: utf to ascii conversion Pin
khushboo gupta7-Apr-13 18:30
khushboo gupta7-Apr-13 18:30 
GeneralRe: utf to ascii conversion Pin
khushboo gupta9-Apr-13 2:35
khushboo gupta9-Apr-13 2:35 
GeneralRe: utf to ascii conversion Pin
Richard MacCutchan9-Apr-13 5:03
mveRichard MacCutchan9-Apr-13 5:03 
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

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.